Using the prefix var to return a different dynamic array |
Top |
Result is: Note that d1[0] will be changed if IF x > 50 then d1[0] := 200; IF x < 50 then d1[0] := 300; ------------------------------------- Note that d1[0] will be updated, d1(dynamic array) is treated as a reference.
|