Summary:
Converts a value to a string.
Usage:
form value
Arguments:
value - The value to form
Description:
FORM creates the user-friendly format of the value, its
standard PRINT format, not its molded (or source)
format. When given a block of values, spaces are
inserted between each values (except after a newline).
To avoid the spaces between values use INSERT or JOIN.
Note that FORM does not evaluate the values within a
block. To do so, either use REFORM or perform a REDUCE
prior to the FORM.
print form %image.jpg
image.jpg |
print form [123 "-string-" now]
123 -string- now |
print reform [123 "-string-" now]
123 -string- 25-Jan-2003/17:28:57-8:00 |
Related:
join - Concatenates values. mold - Converts a value to a REBOL-readable string. reform - Forms a reduced block and returns a string. remold - Molds a reduced block and returns a string.
|