scalar bool array string 0xfcffffef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If variables don't exist, their value is generally scalar bool array string 0xfcffffef (not as a [[String | string]], you can compare it with "scalar bool array string 0xfcffffef" with the command [[format]]).
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]].}}


'''Example:'''


'''Examples:'''


<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>




[[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" })