| Prev | Next | Basic Verbs > displayString |
displayString
| Syntax |
displayString (value)
|
| Params |
value is the object whose data you wish to convert to a display string.
|
| Action |
Converts value to a display string representation, including quotes and other special characters, matching a literal instance of the value as closely as possible.
|
| Returns |
The resulting string.
|
| Examples |
displayString (12) » 12
displayString (point.set (12, 24))
displayString (clock.now ())
displayString (tab)
|
| Notes |
If you attempt to reproduce the above examples in Frontier, you'll notice an extra set of quotes. That's because the Quick Script window and the Run Selection command already apply the displayString verb to the result. To see the actual result of displayString, simply enter the value itself into the Quick Script window. The display string of a value is syntactically valid; it can be evaluated in an expression. However, the result may not be the same data type as the original value. The displayString verb will utilize any available coercion handlers installed in the system to create a textual representation of a binary value.
|
| See Also |
string
|
| Prev | Next | Basic Verbs > displayString |