Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
15
Task/Array-length/XBasic/array-length.basic
Normal file
15
Task/Array-length/XBasic/array-length.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
PROGRAM "Array length"
|
||||
VERSION "0.0000"
|
||||
|
||||
DECLARE FUNCTION Entry ()
|
||||
|
||||
FUNCTION Entry ()
|
||||
DIM F$[2]
|
||||
F$[0] = "apple"
|
||||
F$[1] = "orange"
|
||||
F$[2] = "pear"
|
||||
|
||||
PRINT "The length of the fruit array is "; UBOUND(F$[])
|
||||
PRINT F$[1]
|
||||
END FUNCTION
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue