Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty last line not recognized by ALINES()
Message
 
 
À
24/05/2003 13:50:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00792524
Message ID:
00792567
Vues:
34
>>
>>It depends on how to count lines. According to help, the cParseChar parameter (by deault it's CHR(13),CHR(10) and there combinations ) "specifies one or more character strings that terminate the elements in cExpression". In your example
lcC = "a" + ccCRLF + "b" + ccCRLF + "c" + ccCRLF + ""
>there's only three ccCRLF which terminates three elements and there's nothing after the last ccCRLF.
>
>Hmm, I understand what you're saying. One reply: You use the word 'terminate'. However, this word in the definition would cause all text after the last delimiter to be not copied. The documentation uses the word 'delimit' and that's what you obviously really mean.
>
>Thanks for the explanation of the MS-view. :)

Hi Peter,

I quoted VFP8 help which uses word 'terminate'. The difference I see between 'terminate' and 'delimit' that 'terminate' tells only that previous element ended. The word 'delimit' on other hand indicates that one item ended and other begins.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform