Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
13
Task/Null-object/BASIC/null-object-2.basic
Normal file
13
Task/Null-object/BASIC/null-object-2.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