Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Carriage return
Message
De
10/06/2005 09:59:01
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
10/06/2005 09:50:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01022118
Message ID:
01022133
Vues:
12
>I agree it is simpler - but are you sure it will be faster? I think the precompiler will simply replace CRLF with chr(13) + chr(10), and the end result will be identical.
>
>>A little simpler and it should execute faster:
>>
>>#DEFINE CRLF CHR(13)+CHR(10)
>>myString - cString1 + CRLF + cString2 + CRLF + cString3
>>
>>
>>Regards,

Borislav, Hilmar,

No, I'm not sure. But that's what I was told back when precompiler directives were added to the language. I believe the concept was that they were compiled as constants and didn't need to be evaluated at run time.

Regards,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform