<HEAD> <TITLE> typeof - return the type of an expression </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> typeof - return the type of an expression </H1> </center> <p> <b> int typeof( mixed var ); </b> <p> Return the type of an expression. The return values are given in the driver include "type.h". They are: <p> <pre> INT "int" STRING "string" ARRAY "array" OBJECT "object" MAPPING "mapping" FUNCTION "function" FLOAT "float" BUFFER "buffer" CLASS "class" </pre> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>