scalar bool array string 0xfcffffef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added error. needs example)
 
m (Some wiki formatting)
 
(6 intermediate revisions by 3 users 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]].}}


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