FUNL0211 Nonsense IF condition due to (explanation).: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
 
Line 7: Line 7:
will be rejected with the explanation "type comparison against forced type", because using "+" to obtain the float value of "%X" would always give a float value. If you were using such a statement to determine whether the value of %X conformed to a float value, use the above test without the "+".
will be rejected with the explanation "type comparison against forced type", because using "+" to obtain the float value of "%X" would always give a float value. If you were using such a statement to determine whether the value of %X conformed to a float value, use the above test without the "+".


[[Category:Fast/Unload Messages]]
[[Category:Fast/Unload messages]]

Latest revision as of 13:42, 19 April 2013

A condition in an IF or ELSEIF statement is illegal, and the explanation is shown in the message as explanation.

For example, a test such as

+%X IS FLOAT

will be rejected with the explanation "type comparison against forced type", because using "+" to obtain the float value of "%X" would always give a float value. If you were using such a statement to determine whether the value of %X conformed to a float value, use the above test without the "+".