
2.11 Backward compatibility
nodeclare var-list
nodeclare construct prevents the Loop Facility from generating a default type specification for the specified variables.
;; Sum a few numbers into a local (nontyped) variable. By
;; default, the Loop Facility would declare this variable to be of
;; type number. The NODECLARE construct prevents automatic
;; generation of this type declaration.
> (loop
nodeclare (sumvar) ; Don't generate a type declaration.
for i in '(1.0 2.0)
do (print sumvar)
;; Initialize SUMVAR as if it were type float.
sum i into sumvar float)
0.0
1.0
NIL

Generated with Harlequin WebMaker