Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program() and Sys(16)
Message
 
 
À
03/06/1999 08:20:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00225125
Message ID:
00225960
Vues:
15
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform