Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro changes variable type
Message
De
07/02/2002 12:37:54
 
 
À
07/02/2002 11:24:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616675
Message ID:
00616773
Vues:
24
You don't need macro substitution:
FOR i = THISFORMSET.nStart TO THISFORMSET.nEnd
	FOR lnPosCommands = 1 TO ALEN(THISFORMSET.acCommands)
*		lcCommand = THISFORMSET.acCommands(lnPosCommands)
*		&lcCommand
		EVALUATE(THISFORMSET.acCommands(lnPosCommands))
	ENDFOR
	=MESSAGEBOX(VARTYPE(i)) &&<= displays 'C'
	*i = Val(i)
ENDFOR
Check THISFORMSET.acCommands[], may have "i = ALLTRIM(STR(i))"

Is i being passed by reference to any of the functions?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform