Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Undefined-values/BBC-BASIC/undefined-values-2.basic
Normal file
11
Task/Undefined-values/BBC-BASIC/undefined-values-2.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
PROCtest
|
||||
END
|
||||
|
||||
DEF PROCtest
|
||||
LOCAL array()
|
||||
IF !^array() < 2 PRINT "Array is undefined"
|
||||
DIM array(1,2)
|
||||
IF !^array() > 1 PRINT "Array is defined"
|
||||
|
||||
!^array() = 0 : REM Set array to undefined state
|
||||
ENDPROC
|
||||
Loading…
Add table
Add a link
Reference in a new issue