Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CAN I DO THIS...????
Message
 
 
À
25/08/1998 13:59:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129765
Message ID:
00129890
Vues:
20
>>>for x=1 to 3
>>>sele alltrim(str(x))
>>>do some stuff
>>>endfor

The corrected code is

for x=1 to 3
select (x)
do some stuff
endfor

Here's the explanation:

SELECT X means look for an alias called "X"

SELECT (x) means evaluate the expression x.

Good Luck
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform