
IP 266 Machine Data, Modes and Traversing Programs
5.4.1 Program Header
The program header comprises
• the program identifier
• the program number
• max. 58 characters of arbitrary text
•a <1> character as header terminator
Figure 5-28. Format of the Program Header
Program identifier
% =Main program
L =Subroutine
Program number = DB no.
0 to 255
Max. 58 characters
of arbitrary text
<1> as header terminator
5
12
%
L Subroutine in DB12
Main program in DB5
<1>
<1>
The distinction between main program and subroutine is for documentational
purposes only. The IP makes no distinction. Every program can be either a main
program or a subroutine.
Note:
Recursive structures and reciprocal calls are not possible.
EWA 4NEB 812 6057-02
5-69
Comentarios a estos manuales