typeof.3

foundation2_fluffos_v1/lib/doc/driver/efuns/general/typeof.3 · 480 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"return the type of an expression
.TH typeof 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
typeof() - return the type of an expression

.SH SYNOPSIS
int typeof( mixed var );

.SH DESCRIPTION
Return the type of an expression.  The return values are given in
<typeof.h>.  They are:

INT             2
STRING  	4
ARRAY   	8
OBJECT  	16
MAPPING         32
FUNCTION        64
FLOAT           128
BUFFER          256

.SH SEE ALSO
allocate(3), allocate_mapping(3), strlen(3)

Site Stats

Snippets: 1791
Codebases: 571