Dynamic array instance using New in SmartMS |
Top |
Result is: 10 and 20 ------------------------------------------------------------------------
In other words, in SmartMS, if you want a new dynamic array instance, you use "new", if want to make a copy of a dynamic array, you have to use Copy() method, if you want to resize, you use SetLength() method. See the similar example at Copy() method.
JS output:
|