Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filling a text variable with lines ending with cr/lf.
Message
De
04/04/2000 02:24:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00354764
Message ID:
00354843
Vues:
22
>Here is a quick look at what I am doing. Is this the best way to accomplish what I am trying to do?

For the most part. I know alot of people have a constant CRLF defined as chr(13) + chr(10) globally for the app, plus, you may have just forgotten, but you need semicolons after each line:
#define CRLF chr(13) + chr(10)

textvar = "Line one" + CRLF + ;
              "Line two" + CRLF + ;
              "Line three" + CRLF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform