NaNArray undefined

Fresh start, fresh compile. As soon as I left slave creation to take control of the Arcology;

https://puu.sh/BIPHF.png

Error: <>: bad conditional expression in <> clause: State.variables.NaNArray is undefined

<<if $NaNArray.length > 0>>

@@.red; ERROR: The following variables are NaN! Please report this.@@
<<for _main = 0; _main < $NaNArray.length; _main++>> $NaNArray[_main]
<>
<<link "Hide NaN variables until next week">><<replace #NaNArray>><<set $NaNArray = []>><><> <>

Edited by anakha3263