Mike Yearwood
Toronto, Ontario, Canada
Environment versions
Network:
Windows 2008 Server
>:)
>You right with calling
>
>FUNCTION or PROCEDURE and PROGRAMS
>If you use SET PPROCEDURE TO you can call a prg just as function or procedure.
>
>
>
>>In VFP, it's not how it's declared. It's how it's called. You can name something FUNCTION or PROCEDURE. Makes no difference.
>>
>>>Now you must declare that FUNCTION and PROCEDURE is the same in VFP. Or do you see any diffence, except declaration?
I find it wasteful to write the declaration at all. Make every function or procedure a separate .PRG file. You can still call it as a function or procedure. It will run without an additional SET PROCEDURE command elsewhere in the app. Further, just add it to the pjx and it will be run in the exe again without any additional set procedure command. I believe it's the fastest way for fox to execute code.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only