HI, Gary:
 
Run a trace to determine the problem.  And, use the trace to insure that 
vstdhrs is predefined before the trace hits the 'if' statement.
 
Jim


________________________________
From: Gary Wendike <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Sunday, November 25, 2012 6:58 PM
Subject: [RBASE-L] - Label Question


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