NAME toliteral - convert a MOO value into a string literal SYNOPSIS string toliteral(value[, usequotes]) DESCRIPTION The argument `value' (which may be of any MOO datatype) is converted into a string literal which, when read by eval() or fromliteral(), will result in the recreation of `value'. The string literal is returned. This function is much like tostr(), except that it will recursively include all list and table elements. If `usequotes' is omitted, or if it is passed and is true, string literals will be enclosed in quotation marks (properly escaping any embedded quotes and other special characters within the string). Otherwise, strings will be represented as-is without any quotation marks or special escaping. SEE ALSO fromliteral, tostr