End: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The END (EN) statement ends a Business Rules program, closes all files, and resets the value of the CODE function.
The END (EN) statement ends a Business Rules program, closes all files, and resets the value of the [[CODE]] function.


===Comments and Examples===
===Comments and Examples===
Line 5: Line 5:
  00055 END 12
  00055 END 12
===Syntax===
===Syntax===
END [<[[numeric expression]]>]
[[file:End.png]]
[[file:End.png]]



Latest revision as of 16:38, 29 April 2014

The END (EN) statement ends a Business Rules program, closes all files, and resets the value of the CODE function.

Comments and Examples

END is an optional statement; the system automatically ends a program and sets the value of CODE to 0 when it is not specified. In the following example, END indicates the end of the program and sets the value of CODE to 12:

00055 END 12

Syntax

END [<numeric expression>]

Default

1.) Set CODE to 0.

Parameter

"Num-expr" is an optional parameter that sets the value of the CODE variable. For additional information, see the CODE function.