Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Programming Language : Tint Reference : Namespace Primitives : undef

Syntax

#(undef,%obj)

%obj is the object to be undefined.

Any object can be undefined using undef. When an object is undefined, it is freed and no longer available to the program. When an object, such as a dictionary, procedure, or an array, which contains other objects, is undefined, all objects it contains are undefined as well.

Example

#(def,a-string,abcd)

#(def?,a-string,yes,no)
yes
#(undef,a-string)

#(def?,a-string,yes,no)
no
#(dict,a-dict)

#(def,a-dict.a-string,wxyz)

#(def?,a-dict.a-string,yes,no)
yes
#(undef,a-dict)

#(def?,a-dict.a-string,yes,no)
no