Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Null-object/BBC-BASIC/null-object.basic
Normal file
13
Task/Null-object/BBC-BASIC/null-object.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
PROCtestobjects
|
||||
END
|
||||
|
||||
DEF PROCtestobjects
|
||||
PRIVATE a(), b(), s{}, t{}
|
||||
DIM a(123)
|
||||
DIM s{a%, b#, c$}
|
||||
|
||||
IF !^a() <= 1 PRINT "a() is null" ELSE PRINT "a() is not null"
|
||||
IF !^b() <= 1 PRINT "b() is null" ELSE PRINT "b() is not null"
|
||||
IF !^s{} <= 1 PRINT "s{} is null" ELSE PRINT "s{} is not null"
|
||||
IF !^t{} <= 1 PRINT "t{} is null" ELSE PRINT "t{} is not null"
|
||||
ENDPROC
|
||||
Loading…
Add table
Add a link
Reference in a new issue