Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program() and Sys(16)
Message
From
03/06/1999 11:35:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00225125
Message ID:
00225999
Views:
12
Dave,

Yep - this is in 5.0a - I will probably make switch to 6.0 now that SP3 is out - I think the multitude of problems listed on the the thread and the fixes in SP3 made my wait a wise decision ...

Thanks for the heads up!

Ken

>Ken
>
>You must not be using VFP6. From it's help file:
>
>If you specify –1 for nLevel, PROGRAM( ) returns as a numeric value the current program level. PROGRAM(–1) always returns zero when issued from the Command window.
>
>You'll have to use the code JimB posted for VFP5 or VFP3.
>
>>Program(-1) (or negative anything for that matter) all seem to return the same as program(0) - the top level program. Did I misunderstand something?
Ken B. Matson
GCom2 Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform