Previous Up Next

10.4.6  Converting an expression to a string

The string can be used to convert an expression to a string. If you give it an expression as an argument, the expression will be evaluated and then converted to a string. For example, if you enter


the result will be the string

"2 * 3"

This is the same thing as adding the empty string to the expression;

ifactor(6) + ""

If you want to convert an unevaluated expression to a string, you can quote the expression. If you enter


then you will get the string


Previous Up Next