Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xbase DO CASE indention
Message
 
 
To
30/01/2013 19:40:13
General information
Forum:
Humor
Category:
Other
Miscellaneous
Thread ID:
01564657
Message ID:
01564803
Views:
35
>>the Allways{BEFORE|AFTER} not sure, it is like the FINALLY in a TRY
>>catch, till today I do not understand why it's needed.
>
>It allows code to be executed if any of the CASE conditions are met. If they are, then some special preliminary code conditions can be executed, along with some follow-on cleanup conditions. But if none of those paths are executed, it's just ignored.
>
>I have another one I've added for iterative blocks:
>
SCAN
>    * Normal SCAN...ENDSCAN code goes here
>
>    UNLESS condition
>        * You can test a condition here, and if it fails this code will be executed
>        * To restart the loop, issue RETRY
>        * In this condition you might make sure a table is open, or a resource is available
>
>    UNLESS condition2
>        * Several can exist
>        * In this one you might check another table
>
>    UNLESS conditionN
>        * Once all tests have passed, the loop begins like normal
>        * In this one you might check to see if the user's clicked the "cancel" button. :-)
>
>ENDSCAN
>
>
>There are several other ones: http://www.visual-freepro.org/wiki/index.php/VXB%2B%2B
>
>More keep coming.

Interesting. I admit I have never used UNLESS, so thanks for the heads up.
Previous
Reply
Map
View

Click here to load this message in the networking platform