scalar bool array string 0xfcffffef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Not in ArmA)
m (Some wiki formatting)
 
(One intermediate revision 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:'''


Version {{GameCategory|ofp|link=y}} '''1.96'''


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




'''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 14: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" })