Array: Difference between revisions
Jump to navigation
Jump to search
Created page with "ARRAY(''expressionlist'') '''Description''' ARRAY creates an array dynamically. The required parameter, ''expressionlist'', is a comma-delimited list of valid expressions. T..." |
No edit summary |
||
Line 20: | Line 20: | ||
<pre> | <pre> | ||
Hello World! | Hello World! | ||
</pre> | </pre> |
Revision as of 03:44, 29 June 2012
ARRAY(expressionlist)
Description
ARRAY creates an array dynamically. The required parameter, expressionlist, is a comma-delimited list of valid expressions. The resulting array has a length equal to the number of elements in expressionlist. Arrays created with ARRAY have a lower bound of 0.
Example
REM ARRAY Example 'ARRAY creates an array dynamically DIM MyArray, Message 'Create an array with 2 string elements MyArray = Array("Hello", "World!") 'Access the array and concatenate elements PRINT MyArray(0) & " " & MyArray(1)
Output
Hello World!
Related Items