RosettaCodeData/Task/Array-length/BASIC/array-length.basic

5 lines
82 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
DIM X$(1 TO 2)
X$(1) = "apple"
X$(2) = "orange"
PRINT UBOUND(X$) - LBOUND(X$) + 1