I had a lot of confusion tonight after a slight redesign of one of my scripts.
It basically involved a GOTO command
This section was in this case skipped due to another IF>THEN
Code: Select all
Show>LWarning
Label>LWarningLoop
GetDialogAction>LWarning,l_result
IF>l_result=1,startversion4
IF>l_result=2,End
GOTO>LWarningLoop
Code: Select all
Show>LWarning
Label>LWarningLoop
GetDialogAction>LWarning,l_result
IF>l_result=1,startversion3
IF>l_result=2,End
GOTO>LWarningLoop
It took me a while to figure out what was wrong.
I suppose this is sloppy programming on my behalf and once I realised what was happening it was easily fixed by changing the name of Label>LWarningLoop to be slightly different in each section - Label>LWarningLoopv3 (etc.)
My programming knowledge mainly comes from BASIC. But I am am almost sure that this kind of thing should not have happened.
So, is it just sloppy code? Or is it a minor issue?
{Phil prepares for a battering}
