1. Home
  2. ENDBREAK directive

ENDBREAK directive

Returns to the original channel or control structure and continues execution.

No options or parameters

Description

ENDBREAK ends breaks instigated by the BREAK directive, where more details are given.

Options: none.

Parameters: none.

See also

Directives: BREAK, DEBUG.

Commands for: Program control.

Example

" Example BREA-1: Using the BREAK directive in a FOR loop"

VARIATE [NVALUES=13] X,Y,LogY
READ X,Y
60  78.5  52  74.3  20 104.3  47  87.6  33  95.9  22 109.2
 6 102.7  44  72.5  22  93.1  26 115.9  34  83.8  12 113.3
12 109.4 :
CALCULATE LogY = LOG(Y)

" Fit a regression for Y, then for LOG(Y)
  Interrupt the execution to look at the results"
FOR Dum=Y,LogY
   MODEL Dum
   TERMS X
   FIT [PRINT=summary] X
   BREAK 
   RDISPLAY [PRINT=estimates]
   BREAK 
ENDFOR
ENDBREAK
ENDBREAK
ENDBREAK
ENDBREAK
Updated on March 8, 2019

Was this article helpful?