Code: Select all
PROCEDURE ^P(i: INTEGER);
Code: Select all
PROCEDURE ^P(i: INTEGER);
Code: Select all
PROCEDURE ProcA(a: INTEGER);
BEGIN
...
ProcB(a-1);
...
END ProcA;
PROCEDURE ProcB(a: INTEGER);
BEGIN
...
ProcA(a-1);
...
END ProcB;
Code: Select all
PROCEDURE ProcA(a: INTEGER);
PROCEDURE ProcB(a: INTEGER);
BEGIN
...
ProcA(a-1);
...
END ProcB;
BEGIN
...
ProcB(a-1);
...
END ProcA;
Code: Select all
VAR
procVarB: PROCEDURE(a: INTEGER);
PROCEDURE ProcA(a: INTEGER);
BEGIN
...
procVarB(a-1);
...
END ProcA;
PROCEDURE ProcB(a: INTEGER);
BEGIN
...
ProcA(a-1);
...
END ProcB;
BEGIN
procVarB := ProcB
END.