Manage input files, that provide text and commands for Tefigel, and output
files, where the result of Tefigel's processing is stored.
Change the source of input text and commands:
the same instructions used to divide a complex file generation
task into a set of more manageable, smaller tasks - namely
process, process_if_readable, and call,
described in the previous
chapter - can also be used to perform this function,
as Tefigel allows text and commands to be freely intermixed
in any text file.
Attach, without any processing, the contents of a file to the current
output file:
attach <file-reference>
Write output to a file, creating it if it does not exist,
or overwriting it if it already exists:
output <file-reference>
Write output to a file, creating it if it does not exist,
or extending it from its current end if it already exists:
append <file-reference>
Write a line of text to the current output file:
echo text
Write a line of text to the current diagnostic file (standard error):
msg text
The distinction between file processing and subroutine or function
calling in Tefigel is purely theoretical; in practice, calling
a subroutine or a function implies the processing of the file
that implements the called subroutine or function.
[Previous chapter]
[Next chapter]
[Back to top]
|