是否可以强制执行局部变量的声明?

z--*_*z-- 0 variables declaration livecode

我已经定义了一个局部变量

 local tSuppressLines
Run Code Online (Sandbox Code Playgroud)

我想确保检查局部变量,以便我有一个错字

   if  not tSuppessLines  then
      -- do something
   end if
Run Code Online (Sandbox Code Playgroud)

我收到警告

小智 5

是的,在首选项的"脚本编辑器"下打开"严格编译模式".