Articles Archive
Director Forums
Director Wiki
Job Board
Search
 
 Director Online WikiMain Page | About | Help | FAQ | Special pages | Log in | Printable version | Disclaimers

Ilk

From Director Online Wiki

ilk() is a Lingo function that determines the type of a variable.

Syntax:

ilk(variable) or variable.ilk

returns the [[[type]] of the variable as a symbol. See the type entry for a full list of variable types.

ilk(variable, type)

returns true or false depending on whether the variable is of the type indicated.


Examples:

testList = [1,2,3,4]
put testList.ilk
-- #list

Retrieved from "http://www.director-online.com/dougwiki/index.php/Ilk"

This page has been accessed 1131 times. This page was last modified 17:22, 5 May 2005.