Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
CLEAR Statement (DataBasic) (m618703+clear_s.htm)
Initializes program variables to zero.
CLEAR
The CLEAR statement can be used in an initial main program to set all local variables and all local common variables to zero; when used in a subroutine, only the local variables are set to zero. Note that in neither situation are named common variables set to zero.
Programs should not access a variable until a value has been assigned to it.
X = 5
Y = Y+1
.
.
CLEAR
Reinitializes all variables to zero.