Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#Define oddity
Message
 
 
À
12/12/2004 10:42:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00968604
Message ID:
00968618
Vues:
8
Hi Gregory,

I think you found a bug that still exist in VFP9. See code below
CLEAR
release aa
#define	ALINEDEFINED aa = aa
a=1
#define aa a
ALINEDEFINED
* The next two line should display the same
? [ALINEDEFINED]	&& aa = a  - Bug
? [aa = aa]		&& a = a   - correct
?vartype(aa), 'should be U', '  Error'
>
>Anyone can reproduce / explain the code below ?
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform