Error Generic Error in Expression

From Bohemia Interactive Community
Revision as of 14:35, 27 March 2024 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This error occurs when the type of data an operator is expecting does not match.


Compatibility:

Version 1.96


Example:

_myString = "The meaning of life is " + 42; // error _myString = "The meaning of life is " + str 42; // OK _myString = "The meaning of life is " + format ["%1", 42]; // OK - OFP