▶ SYSTEM MODULES
Tyl system module handles tasks in a specific subject.
Tyl system module features:
- All system module keys, and also module function keys, are reserved, and cannot be used as a variable name
- System module has functions, that are accessed by the format: <MODULE-KEY><DOT>< FUNCTION-KEY>
- System module function will not be activated if it does not have the right parameters
Say we want to read the contents of a file. We can use the
iomodule, with the
readfunction, usually referred to as
io.read 'file.txt' content
If the file: 'file.txt' exists,
contentparameter will get the content of the file.
All system modules are in System Modules Reference