Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Enumerations/BASIC/enumerations.basic
Normal file
16
Task/Enumerations/BASIC/enumerations.basic
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
REM Impossible. Can only be faked with arrays of strings.
|
||||
OPTION BASE 1
|
||||
DIM SHARED fruitsName$(1 to 3)
|
||||
DIM SHARED fruitsVal%( 1 to 3)
|
||||
fruitsName$[1] = "apple"
|
||||
fruitsName$[2] = "banana"
|
||||
fruitsName$[3] = "cherry"
|
||||
fruitsVal%[1] = 1
|
||||
fruitsVal%[2] = 2
|
||||
fruitsVal%[3] = 3
|
||||
|
||||
REM OR GLOBAL CONSTANTS
|
||||
DIM SHARED apple%, banana%, cherry%
|
||||
apple% = 1
|
||||
banana% = 2
|
||||
cherry% = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue