skip to main content

Procedure Division Statements : NEXT SENTENCE

NEXT SENTENCE
General Format
Syntax Rules
1.
A NEXT SENTENCE statement is allowed anywhere if either -ca or -cm compiler flags are used. Without these flags, a NEXT SENTENCE statement is allowed only anywhere a conditional statement is allowed.
General Rules
1.
Examples
Continue execution after the if statement
if 1 = 1 
   next sentence
   display "this cannot ever be displayed"
end-if.  *> The period here is mandatory for the next 
display "hello".

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left