Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xbase DO CASE indention
Message
General information
Forum:
Humor
Category:
Other
Miscellaneous
Thread ID:
01564657
Message ID:
01564780
Views:
41
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform