Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print a string in different lines
Message
De
26/01/2005 23:59:36
 
 
À
26/01/2005 23:41:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00981098
Message ID:
00981099
Vues:
21
Hi Evelyn.

You coult use STRTran to convert the semicolons to carriage returns and print that.
?STRTran(lcStringVar, ";", Chr(13))
If you are trying to write it to a text file that you need to open in Notepad or something else that doesn't fully recognise carriage returns as proper line breaks you'll need to use Chr(13)+Chr(10) as the third parameter.

Ian Simcock.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform