formline
formline picture, variables
- Internal function used by formats, although you may also call it. It formats a list of values (variables) according to the contents of picture, placing the output into the format output accumulator,
$^A. When awriteis done, the contents of$^Aare written to some filehandle, but you could also read$^Ayourself and set$^Aback to"". Note that a format typically does oneformlineper line of form, but theformlinefunction itself doesn't care how many newlines are embedded in the picture. This means that the~and~~tokens will treat the entire picture as a single line. Thus, you may need to use multiple formlines to implement a single record-format, like the format compiler.Be careful if you put double quotes around the picture, since an
@character may be taken to mean the beginning of an array name.formlinealways returns true. See "Formats" in for more information.