Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many CASEs in DO CASE?
Message
From
01/06/2006 17:31:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01126584
Message ID:
01126610
Views:
36
>>>>I guess the only limit is the limit for a procedure's total size.
>>>>
>>>>I'd also say that it doesn't matter (anymore) if a chr or num is "faster" because in today's CPUs the difference wouldn't be noticeable. Remember, you aren't necessarily executing all the CASEs every time.
>>>>
>>>>cheers
>>>
>>>Good point that you and Borislav made about the size of the procedure.
>>>I don't think I will hit it, yet, but need to consider it.
>>>
>>>Thank you for your input.
>>
>>You don't have 64K limit. I don't think you'd hit any limit with several hundred cases. Prefer numeric.
>>Cetin
>
>Cetin,
>
>Thank you for your help. Now after everybody criticized me for my bad design <g>, I found an easy approach without the DO CASE.

Good it wasn't only me who replied and you went another path:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform