next up previous contents index
Next: Path Manipulation and Query Up: Utility Functions Previous: Memory Management   Contents   Index

Miscellaneous

(string) SepString(string, repeat)
This function returns a string that is created by repeating the string argument repeat times. The repeat value is an integer in the range 1-132. The function will fail if string is null.

(int) Defined(variable)
If a variable is referenced before it is assigned to, the variable has no type, but behaves in all ways as a string set to the variable's name. This function returns 1 if the argument has a type assigned, or 0 if it has no type.

(string) TypeOf(variable)
This function returns a string which indicates the type of variable passed as an argument. The possible returns are

``none'' variable has no type
``scalar'' variable is a number
``string'' variable is a string
``array'' variable is an array
``zoidlist'' variable is a zoidlist
``lexper'' variable is a lexper
``handle'' variable is a handle to something


next up previous contents index
Next: Path Manipulation and Query Up: Utility Functions Previous: Memory Management   Contents   Index
Stephen R. Whiteley 2006-10-23