kytschBASIC

Put down that phone!
Please view me on real computer.

COUNT
STRING

This function will return the length of an array.

Note, this only applies to the DEF command and will not work on any other.

Example

DIM strings$=("kytsch", "BASIC")

DEF count%=COUNT(strings$)

PRINT count%

LINE BREAK

PRINT COUNT(strings$), "basic"

Output

2
2

See also

DEF | DIM