RosettaCodeData/Task/Array-length/BASIC/array-length.basic
2023-07-01 13:44:08 -04:00

4 lines
82 B
Text

DIM X$(1 TO 2)
X$(1) = "apple"
X$(2) = "orange"
PRINT UBOUND(X$) - LBOUND(X$) + 1