Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter Not Being Passed
Message
De
25/09/2003 17:22:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Parameter Not Being Passed
Divers
Thread ID:
00832491
Message ID:
00832491
Vues:
47
I'm getting some weird behavior - hoping someone might have some insight.

I have a method in a class which accepts 2 parameters. When I instantiate the class in the command window and call the method, if the first paramter I pass is an integer, it is simply ignored. The first line of the method, after the introductory comments, is:

lParameters tnStmtKey,tcInfo

The method is called "getstmtinfo". If I call o.getstmtinfo(1,'name'), the 1 gets ignored, and only the 'name' is passed into the tnStmtKey parameter. When debugging, tcInfo will have the value of .f.

I've tried recompiling the class library, exiting and reentering VFP, and changing the parameter list.

I'm using VFP 8 on Win XP.

Any thoughts would be appreciated.

Thanks,

David
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform