scalar bool array string 0xfcffffef: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (added example) |
||
Line 1: | Line 1: | ||
If variables don't exist, their value is generally | If variables don't exist, their value as string is generally a "scalar bool array string 0xfcffffef" error. | ||
Line 10: | Line 10: | ||
''' | '''Examples:''' | ||
<code>hint format ["%1", undefined_variable]</code> | |||
<code>hint (if (format ["%1", undefined_variable] == "scalar bool array string 0xfcffffef") then [{"Variable undefined"},{"Variable already defined"}])</code> | |||
[[Category:Common Scripting Errors]] | [[Category:Common Scripting Errors]] |
Revision as of 00:42, 21 November 2006
If variables don't exist, their value as string is generally a "scalar bool array string 0xfcffffef" error.
Compatibility:
Version OFP 1.96
Version ArmA 1.00
Examples:
hint format ["%1", undefined_variable]
hint (if (format ["%1", undefined_variable] == "scalar bool array string 0xfcffffef") then [{"Variable undefined"},{"Variable already defined"}])