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://project-mongoose.net:7777 -- Mail us -- http://project-mongoose.net:7780/ --
-- Five users connected --