Getting Warning sign : OMEGA13 was used but was never set (will evaluate as its name)

52 Views Asked by At

Getting warning from Script Checker : "OMEGA13 was used but was never set (will evaluate as its name)"

I've set

start using Omega13

-- some codes here --

stop using Omega13

Anyone has any idea on why the warning sign is there?

Eggplant documentation - Advance scripting: Error Recovery with Omega13

1

There are 1 best solutions below

3
sphennings On

What's probably happened is somewhere you've mistyped some variant of omega13.

Sensetalk treats uninitialized variables as strings. This results in lots of hard to debug errors.

name = "my name"
put naame 

This will print naame which is probably not what you wanted.


It looks like the correct form to invoke is omega13 not Omega13, or OMEGA13. I'd check the documentation and make sure that you haven't mistyped it anywhere.

You may also want to look into the strictVariables global which if true will treat using an uninitialized variable as an error.