Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating variables
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01028044
Message ID:
01028099
Vues:
13
Neil,

My favorite way to deal with this is to just always add one and then remove the one bad one, no messy IFs involved:
lcConcatenatedString = ""
for i = 1 to n
   lcConcatenatedString = lcConcatenatedString + "," + transform( i )
endfor

lcConcatenatedString = substr( lcConcatenatedString, 2 ) && pull off the initial ,
>Im getting confused on putting the commas in and how to stop putting a comma in if it is the last email address found. Can anybody help me please?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform