Table of Contents

DIM

Explicitely declares and allocates memory for a variable; usually mandatory only for array structures

Implemented by: dartmouth1, ansimin, ansifull, hptsb, decbasic, Altair, a2int, Applesoft, TI994, CBM, msatari, level2, trscolor, colormc, Sinclair, BBC, GWBASIC, MSX, bwbasic, bw32, ABasiC, VBDOS, FreeBASIC, Gambas, ugBASIC, minibasicmm, minibasicjs

With variations: tasc (dimensions are 1-based and can not be set by expressions), Atari (mandatory for string variables; won't allow arrays of strings), atxl (allows string arrays as DIM(n, length), Atom, QBasic (also with SHARED)

Also written as:

Usage

Variations

Examples

Comments

Similar keywords

In other languages...

References