Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameter by reference
Message
From
08/10/1998 10:12:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144309
Message ID:
00145003
Views:
49
>Dragan,
>
>That's something else I never use, huge procedure files. I just grew to dislike them in FPW2.x. I've decided it's better to put each function in their own .prg. Even though we now have SET PROC ADDITIVE the only time I use that is for my classes that can only be defined in .prg.
>
>>This reminds me of an old, mostly theoretical problem: there is a Do < prgname > in < procfilename > syntax. What's the equivalent function call, short of doing a Set Procedure To ... before the call?

Neither do I (didn't I say the problem was theoretical); my procedures are either within the file they're called from, or in separate files, or (in couple of special cases), in the caller .prg file. Anyway, if "do the_prg with param1, param2" is equal to the function call of "=The_prg(param1, param2)", what is equal to "do the_prg in prg_file with param1, param2"?

I think there's no answer to this, but... well, this itches my curiosity ever since 2.0 or so (when was the IN clause introduced, anyway?).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform