Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir function
Message
From
09/12/1998 17:52:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00164664
Message ID:
00165841
Views:
21
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform