[Contents] · [Home] · [Mail]

SALIERI Language - type

Type:
type: object -> string

Call syntax:
type(anObject)

Description:
The function type returns the type of its argument as a character string. The result is one of the following: "boolean", "integer", "real", "string", "sequence", "segment", "list", "package", "function", "internal function". Macros and blocks are treated as subclasses of function here; for references the type of the dereferenced object is returned.

Example:
> type(1)
Result= "integer"
> r := 1/2; type(r)
Result= "real"
> type(exit)
Result= "internal function"

See also: exists.


[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.