Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Words from memo
Message
 
 
À
12/07/2004 09:14:43
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00923219
Message ID:
00923298
Vues:
21
He'll have to loop through laList array.

>Doesn't he still need to use MemLines and loop through the lines of the memo?
>
>>Jay,
>>
>>The memo field can be used as the second parameter in ALINES(). I used a string literal to show that it works for his example.
>>
>>>
>>>Isn't that used to put the lines into a memo? I think he wants to extract the lines out.
>>>
>>>UPDATE: Ahh. My mistake, but I think he needs to use the memo field name and the MemLines function as well.
>>>
>>>>You can use ALINES() function
>>>>
DIMENSION laList[1]
>>>>ALINES(laList, "good morning nice world", SPACE(1))
>>>>
>>>>>memo is not the real name.
>>>>>I want to get all the words in the memo.
>>>>>For example: if the memo words is : "good morning nice world'
>>>>>I will get 4 new records in the cursor:
>>>>>1. good
>>>>>2. morning
>>>>>3. nice
>>>>>4. world
>>>>>you have to remember that my memo able to be 100 word and one word.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform