HTML Utilities

Showing help on 'toobj()'

Syntax: toobj (<value>) => OBJ

Converts the given MOO value into an object number and returns that object number. The conversions are very similar to those for `toint()' except that for strings, the number *may* be preceded by `#'.

toobj("34") => #34
toobj("#34") => #34
toobj("foo") => #0
toobj({1, 2}) -error-> E_TYPE



-- telnet://mongoose.world:7777 -- Mail us -- http://mongoose.world:7780/ --
-- Seven users connected --