Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense in [] delimited query expressions, pls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01050200
Message ID:
01053993
Vues:
27
Thomas and Fabio,
>>* assign the 'pointer' value to the var ONLY POSSIBLE WITH MACRO
>>* resulting in: tC12=1, tN31=2
>>  &cTmp=m.nCntr2
>really ?
>Store m.nCntr2 to (m.cTmp)
In the comments at the top I wrote that the code snippet is roughly a dozen years old and I bet there were no name expressions in FoxPro 2.6.

But for the purpose of really nailing the differences between macros, name expressions and EVAL(): You´re absolutely right.
>*Fabio:
>_VFP.Setvar(m.cTmp,m.nCntr2)
WHAT? If I want to assign a value to m.cTmp (NOT with the level of indirection we´re talking about) I need to put it in quotes?
_VFP.Setvar("m.cTmp","Fabio")
I see cTmp in the debugger, but
*fails
?m.cTmp
*without m. it works
_VFP.Setvar("cTmp","Fabio")
Thanks
G
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform