Bug: Wrong initalization of CoreConst[coNull] in atScript

TMS Scripter 7.32

in initialization of atScript.pas we have:

CoreConst[coNull] := NullValue;
NullValue := TValue.Empty;
NullValue := Variants.Null;

NullValue is unassigned per default.
This leads to CoreConst[coNull] = unassigned which is not intended if NEWSTACK is not defined.

Moving the second Part to the top of then initialization will easily fix this.

1 Like

Thank you for reporting. We applied the fix internally here.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.