R3vo/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (cleared)
Tag: Blanking
m (some idea)
Line 1: Line 1:
 
{{Cfg ref|start}}
{{Cfg ref|abc}}
==== += ====
;Type: [[TokenNameValueTypes|Array]]
;Description: Sets the array to given value or adds given value to the array.
<syntaxhighlight lang="c">
items[] += {1,2,3,4};
</syntaxhighlight>
==== delete ====
;Type: Class
;Description: Deletes given class. Does not delete class if classes that derive from it still exist. In that case, delete children first.
<syntaxhighlight lang="c">
delete someObsoleteClass;
</syntaxhighlight>

Revision as of 10:10, 7 July 2020

Template:Cfg ref Template:Cfg ref

+=

Type
Array
Description
Sets the array to given value or adds given value to the array.
items[] += {1,2,3,4};

delete

Type
Class
Description
Deletes given class. Does not delete class if classes that derive from it still exist. In that case, delete children first.
delete someObsoleteClass;