Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't we use a single letter variable?
Message
 
À
03/07/2002 17:53:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00675147
Message ID:
00675148
Vues:
11
This message has been marked as the solution to the initial question of the thread.
This may well have to do with the reserved letters A-J for the ten original work areas allowed by xBase and the letter m is reserved as m.lastname (mvar).

Tom


>hi, every body
>I meet a strange problem in VFP 7.I declare a Class using
>
set classlib to myclass
>store createobject ("myclass") to a
>
>but when I launch a Method in the class
>
>a.GetSqlData("Select * from txl order by name","temp")
>
>I always get a error message "Syntax Error"
>If I change the variable 'a' to 'a1' and launch
>
>a1.GetSqLData("......")
>
>I can get what I need.
>A summary below is which single letter can't use:
>
>a,b,c,....j and m
>
>
>when I use 'm' as variable, I get another error message "File 'getsqldata.prg' doesnt exist"
>
>I have never met this question in VFP 5/6 , Anybody has some idea?
>
>TIA, Have a nice day!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform