R3vo/Sandbox – User
Jump to navigation
Jump to search
m (some idea) |
mNo edit summary |
||
Line 4: | Line 4: | ||
;Type: [[TokenNameValueTypes|Array]] | ;Type: [[TokenNameValueTypes|Array]] | ||
;Description: Sets the array to given value or adds given value to the array. | ;Description: Sets the array to given value or adds given value to the array. | ||
<syntaxhighlight lang="c"> | ;Example: <syntaxhighlight lang="c"> | ||
items[] += {1,2,3,4}; | items[] += {1,2,3,4}; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 10: | Line 10: | ||
;Type: Class | ;Type: Class | ||
;Description: Deletes given class. Does not delete class if classes that derive from it still exist. In that case, delete children first. | ;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"> | ;Example: <syntaxhighlight lang="c"> | ||
delete someObsoleteClass; | delete someObsoleteClass; | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 14:30, 8 July 2020
Template:Cfg ref Template:Cfg ref
+=
- Type
- Array
- Description
- Sets the array to given value or adds given value to the array.
- Example
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.
- Example
delete someObsoleteClass;