scalar bool array string 0xfcffffef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added example)
m (Some wiki formatting)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
If variables don't exist, their value as string is generally a "scalar bool array string 0xfcffffef" error.
If variables don't exist, their value as string is generally a "scalar bool array string 0xfcffffef" error.


'''Compatibility:'''
'''Compatibility:'''


Version [[OFP]] '''1.96'''
Version {{GameCategory|ofp|link=y}} '''1.96'''


Version [[ArmA]] '''1.00'''
{{Feature|arma1|For {{GameCategory|arma1|link=y}} version, see [[scalar bool array string 0xe0ffffef]].}}




'''Examples:'''
'''Examples:'''


<code>hint format ["%1", undefined_variable]</code>
<sqs>hint format ["%1", undefined_variable]</sqs>
 
<sqs>hint (if (format ["%1", undefined_variable] == "scalar bool array string 0xfcffffef") then { "Variable undefined" } else { "Variable already defined" })</sqs>
<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]]

Latest revision as of 13:20, 15 July 2022

If variables don't exist, their value as string is generally a "scalar bool array string 0xfcffffef" error.

Compatibility:

Version Operation Flashpoint 1.96


Examples:

hint format ["%1", undefined_variable]
hint (if (format ["%1", undefined_variable] == "scalar bool array string 0xfcffffef") then { "Variable undefined" } else { "Variable already defined" })