Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
en:dim [2016/08/08 18:00] admin |
en:dim [2016/11/07 06:57] admin |
=== Create a One Dimensional Array === | === Create a One Dimensional Array === |
| |
**dim** //variable// ( //posint_expr// )\\ | **dim** [[variables|variable]] ( [[integerexpressions|array_size]] )\\ |
**dim** //variable// ( //posint_expr// ) **fill** expr\\ | **dim** [[variables|variable]] ( [[integerexpressions|array_size]] ) **fill** [[expressions|expression]]\\ |
**dim** //variable// [ //posint_expr// ]\\ | **dim** [[variables|variable]] [ [[integerexpressions|array_size]] ]\\ |
**dim** //variable// [ //posint_expr// ] **fill** expr | **dim** [[variables|variable]] [ [[integerexpressions|array_size]] ] **fill** [[expressions|expression]] |
=== Create a Two Dimensional Array === | === Create a Two Dimensional Array === |
| |
**dim** //variable// ( //row// , //column// )\\ | **dim** [[variables|variable]] ( [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]])\\ |
**dim** //variable// ( //row// , //column// ) **fill** expr\\ | **dim** [[variables|variable]] ( [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]) **fill** [[expressions|expression]]\\ |
**dim** //variable// [ //row// , //column// ]\\ | **dim** [[variables|variable]] [ [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]]\\ |
**dim** //variable// [ //row// , //column// ] **fill** expr | **dim** [[variables|variable]] [ [[integerexpressions|array_size_rows]] , [[integerexpressions|array_size_columns]]] **fill** [[expressions|expression]] |
=== Use a List to Create and Fill an Array === | === Use a List to Create and Fill an Array === |
| |
**dim** //variable// = [[Lists|{ list ... }]]\\ | **dim** [[variables|variable]] = [[Lists|{ list ... }]]\\ |
**dim** //variable//[] = [[Lists|{ list ... }]]\\ | **dim** [[variables|variable]][] = [[Lists|{ list ... }]]\\ |
**dim** //variable// = [[Lists|{ { list ... }, { list ... } ... }]] | **dim** [[variables|variable]] = [[Lists|{ { list ... }, { list ... } ... }]]\\ |
**dim** //variable//[] = [[Lists|{ { list ... }, { list ... } ... }]] | **dim** [[variables|variable]][] = [[Lists|{ { list ... }, { list ... } ... }]] |
| |
=== Copy One Array to Another === | === Copy One Array to Another === |
| |
**dim** //variable// = //variable// | **dim** [[variables|variable]] = [[variables|variable]][]\\ |
**dim** //variable//[] = //variable// | **dim** [[variables|variable]][] = [[variables|variable]][] |
| |
=== Fill an Existing Array With a Single Value === | === Fill an Existing Array With a Single Value === |
| |
**dim** //variable// **fill** expr// | **dim** [[variables|variable]] **fill** [[expressions|expression]]\\ |
**dim** //variable//[] **fill** expr | **dim** [[variables|variable]][] **fill** [[expressions|expression]] |
| |
==== Description ==== | ==== Description ==== |
|1.99.99.55|Cleaned up documentation and added array copy.| | |1.99.99.55|Cleaned up documentation and added array copy.| |
|1.99.99.56|Added fill clause| | |1.99.99.56|Added fill clause| |
| |1.99.99.57|Added additional fill options| |
| |1.99.99.72|added the [] when setting one array from another| |
| |