ROIS
Modules
ROIS NPL programs consists of one or more modules. In its turn each module contains one or more tasks. The programmer controls the visibility of a task by a keyword preceding the keyword TASK:
- HIDDEN TASK, only visible to tasks within the same module;
- TASK, also visible to tasks in other modules;
- CLIENT TASK, also visible to client applications.
In case taskA in moduleA needs to use taskB defined in moduleB, moduleA should import moduleB, by the statement
IMPORT moduleB;
In taskA you can then refer to taskB with the statement
moduleB.taskB
of course followed by the appropriate parameters.