Tips and Tricks

Tips and Tricks

Postby StevenLeadbeater » Wed Sep 02, 2009 4:54 pm

After banging my head against the wall for a while trying to figure out how to make only a certain section of Visual Logic execute depending on the situation i finally came up for a work around that sort of imitates the old VB6 GOTO statement so i thought id share :) basically you need to enclose all the VL you want to execute independantly in a loop and use an IF statement to analyse your condition (right at the start of the loop) and if the code shouldnt be executed simply add a break command in the appropriate area of the IF statement. Any problems, i will try to answer as best i can but i am very busy with our model so there may be some delays. If anyone else has any nifty tricks please post here :D
Steven Leadbeater
Automation Engineer
Promoderne ltd.

Return to “SIMUL8 Cafe”