Code: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
==Introduction==
==Introduction==


The '''Code''' type was introduced into with [[ArmA|Armed Assault]], type '''Code''' does not refer to ''Cold War Crisis'' or ''Resistance''. In previous versions it was a prefered style to write such strings in curled braces, but it was not required: it was also possible to write them in quotation marks (like [[String]]s). With ArmA functions that are marked as requiring '''Code''' must be presented with curled braces.
The '''Code''' type was introduced with [[ArmA|Armed Assault]], type '''Code''' does not refer to ''Cold War Crisis'' or ''Resistance''. In previous versions it was a prefered style to write such strings in curled braces, but it was not required: it was also possible to write them in quotation marks (like [[String]]s). With ArmA functions that are marked as requiring '''Code''' must be presented with curled braces.





Revision as of 18:57, 8 December 2006

Introduction

The Code type was introduced with Armed Assault, type Code does not refer to Cold War Crisis or Resistance. In previous versions it was a prefered style to write such strings in curled braces, but it was not required: it was also possible to write them in quotation marks (like Strings). With ArmA functions that are marked as requiring Code must be presented with curled braces.


Description

Part of code (compiled), in curled braces:


Examples

{_x setDamage 1} forEach ArrayToKill