Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How do I jump to another section in the script if my subroutine determines it needs to do so.
Maybe that is bad form. more curious if this is done or is it strictly kept within the routine?
sub loadqvd
If Filesize('Billets.qvd') <= 0 then
what command is need to jump to another piece of code?
else
Do this....
let vLoadAttempt ='$(vLoadAttempt)'+1;
EndIF
End Sub
You can use EXIT SUB to exit the sub routine or CALL another SUB Routine.
sub loadqvd
If Filesize('Billets.qvd') <= 0 then
EXIT SUB // To exit the SUB Routine or USE CALL another SUB Routine
else
Do this....
let vLoadAttempt ='$(vLoadAttempt)'+1;
EndIF
End Sub
You can use EXIT SUB to exit the sub routine or CALL another SUB Routine.
sub loadqvd
If Filesize('Billets.qvd') <= 0 then
EXIT SUB // To exit the SUB Routine or USE CALL another SUB Routine
else
Do this....
let vLoadAttempt ='$(vLoadAttempt)'+1;
EndIF
End Sub
Perfect Thanks