I have a client running 7.6.  The have a program checks for a condition and
if it is not met the program executes a "GOTO" command to finish the
routine.

 

Here is a snippet of the code.

 

IF vstdhrs < 30 OR vstdhrs IS NULL THEN

  GOTO endprg

ENDIF

.

.

.

Label endprg

More code.

 

In my current problem, the vstdhrs are less than 30 should go to the "Label"
endprg.  However I am getting an error message that the "Label" is not
found.

 

Any thoughts on the issue?  I have never run across this before.  I am sure
it is something that I have done wrong somewhere.

 

Thanks

Gary

 

Reply via email to