2.58. reftest1.bas

[<<<] [>>>]

This sample tests that though the global array is released undef-ing it the local variable a referencing it still has the value. The program should print 1undef.

Example reftest1.bas :

sub test(a)
 undef q
 print a
end sub
q[1] = 1
test q[1]
print q

Result executing reftest1.bas :

Possible error messages sent to stderr:


[<<<] [>>>]