FUNL0211 Nonsense IF condition due to (explanation).: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Automatically generated page update) |
||
(One intermediate revision by one other user not shown) | |||
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 | [[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 "+".