Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir function
Message
De
09/12/1998 17:52:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/12/1998 16:25:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00164664
Message ID:
00165841
Vues:
14
>>>I'd guess that you left out the '!' - that;'s the NOT operator. Also, the $ compare is case-sensitive, so try:
>>>
>>>COPY TO ARRAY aFileList for NOT '.FPT' $ UPPER(FNAME)
>>
>>It depends on your current collating sequence. If it's "machine", you're right. Any other collating sequence (including "general") has equal weights for upper and lower case, and is therefore not case sensitive. It's a gotcha...
>
>I hadn't considered it from the other collating sequences, but by comparing to the UPPER() result, it should always work, correct?

It will. It won't work other way 'round, if you develop under another collating sequence, and it worked regardless of Upper() or not, and then run it under "machine" - and then it suddenly won't. Burned my fingers on that, couple of times.

As a sidenote, you may have several tags under different collating sequences within the same .cdx (I do it all the time), but the tags done under other sequences than "machine" are not Rushmore useful, so I actually use them for names only, or where I expect an incremental search (names, again). I use "slovak" sequence, because it matches mine as close as possible (I think it doesn't distinguish c from c-acute, and the rest is OK).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform