12.2. gen slotname file

Aus Hugo Doku

Wechseln zu: Navigation, Suche
@#gen slotname_file<!filename, [dirname_mix, ]dirname_gen, filetype  !>

Description:

Declares an output method with the given slotname. The context of this slot is a file, specified by the parameters.

Parameter:

Name Type Meaning
filename String The filename, where the target text is printed to.
dirname_mix String The directory name (relativ to the project directory), where the file is created, if it contains coding blocks.
dirname_gen String The directory name (relativ to the project directory), where the file is created by default. If dirname_mix is set, here only files are located, which are fully generated, i.e. they do not contain codings.
filetype String The type of the file. The string value is completly free.


Next: 12.3. gen_stream slotname
Persönliche Werkzeuge