HP Pascal/iX Programmer's Guide (31502-90023)

7- 24
EXTERNAL SPL VARIABLE
The EXTERNAL SPL VARIABLE directive causes the compiler to pass a hidden
parameter that specifies the presence of parameters. The hidden
parameter is a 32 bit integer with the mask right justified as required
by SPL/V.
Example
program prog1;
var count : integer;
procedure ext_spl(p1, p2, p3 : integer);
external spl variable;
begin
ext_spl(1,,count);
ext_spl(1);
end.
Including hidden parameters (highlighted), the physical parameter order
that appears in the preceding program as ext_spl(1,,i) is:
--------------------------
| |
| Value 5 |
| |
--------------------------
| |
| Value 1 |
| |
--------------------------
| |
| Value 0 (space |
| holder) |
| |
--------------------------
| |
| Value of count |
| |
--------------------------