Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left() on array member shows incorrect results
Message
De
01/09/2009 05:45:32
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
01/09/2009 05:20:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01422104
Message ID:
01422108
Vues:
64
Tuvia,
works as expected.

Do you have a function aTest somewhere? All I see is

>? left(atest[1],3)
>? left(atest(1),4)

Agnes
Update:

Maybe your comp is tired too. Reboot

>I think I am losing my mind at 4:00 am.
>
>I have an array aTest[1000]
>
>atest[1] = "   Hello"
>atest[1] = alltrim(atest[1])
>? atest[1]
>Hello
>? len(atest[1])
>5
>? lower(atest[1])
>hello
>* BUT
>? left(atest[1],3)
>[blank]
>? left(atest(1),4)
>   H
>
>
>Always the left functon on any array member is 4 chars off. Am I dreaming this?
>
>Thanks
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform