You Must Use the Value Returned by this Function Error

You called a function but did not assign the result to a variable or property.

# Note

If you want to call the function but ignore the result, use the Call statement.

# Examples

Trying to assign the result to an object rather than a property of the object:

CheckBox1= True

Ignoring the result returned by a built-in function:

Atan2(1,0) //not assigned to anything
RGB(100,100,100) //incorrect

# See Also

Call, Function statements.