Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

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

Syntax

#(def?,%obj,%yes,%no)

%obj is the object to check to see if it is defined. %yes is the result if the object is defined. %no is the result if the object is not defined.

%yes and %no are always returned active.

Example

#(def?,an-object,yes,no)
no
#(def,an-object,a-value)

#(def?,an-object,yes,no)
yes