Use this when you want to change the number of elements in an array in a script. You can also freely change the dimensions. The values before the change will be retained even after the change. For example, if you change from an array of 200 elements to an array of 300 elements, the values of the first 200 elements will be inherited.
var a;
...
a = ::Revar(a, 200): // Expanded to an array of 200 elements.
...
a = ::Revar(a, 300): // Expanded to an array of 300 elements. The first 200 values are retained.
...
a = ::Revar(a, 200, 100): // Same as "var a[200, 100]". Changed from a one-dimensional to a two-dimensional array.
...