typeof(3) MudOS v21c2 (5
Sep 1994)
名称:
typeof() - 返回一个式子 (expression) 的数据类型 (type).
语法:
int typeof( mixed var );
整数 typeof( 混合 var );
用法:
返回一个式子的数据类型. <typeof.h> 中定义返回值为:
整数 INT 2
字符串 STRING 4
数组 ARRAY 8
物件 OBJECT 16
映射 MAPPING 32
函数指针 FUNCTION 64
浮点数 FLOAT 128
缓冲区 BUFFER 256
参考:
翻译:
Spock @ FF 97.Jul.25. (printed 3/16/95)
回到上一页