render-value/format in drscheme:language:language<%>

This method is used to turn values into strings for displaying. The final argument is used because ports aren't enough to support the printing of snips into a text%. Calling the third argument with a snip inserts the snip into an text% that corresponds to displaying something in the port. If the third argument is #f, we are in a context that cannot display snips, so this methods are expected to flatten any snips into strings. The final argument is a maximum width to use (in characters) when formatting the value.

This method is expected to format the value by inserting newlines in appropriate places and is expected to render a newline after the vaue.

See also render-value.