You probably should compare with _typeof() and not typeof().
/ Henrik Grubbström (Lysator)
Previous text:
2002-11-28 20:38: Subject: CHANGES line of the day
o basetype(foo) Returns a string with the basic type of foo as opposed to typeof(foo) that returns the actual type. Also available as sprintf("%t", foo).
?
/ Peter Bortas