Anonymous user
Array Initialization: Difference between revisions
→{{header|AutoHotkey}}
(initializing array type variables in autohotkey) |
|||
Line 55:
AutoHotkey does not have arrays yet.
However, variables can be set to arbitrary size and pointer operations can be used, simulating arrays. Just without the syntactic sugar of '[]'.
Initialization is as follows:
<lang AutoHotkey>
size = 1000
Line 60 ⟶ 61:
VarSetCapacity(arrayVar, size, value)
</lang>
=={{header|C++}}==
|