pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
return cc;
end;
Declaration of pTAL procedure P in Example 367 (page 528):
int proc p (i, j, k) returnscc;
int(16) i;
int(32) .ext j;
int(64) k;
begin
...
return i, j < k; ! Traditional function value is the value of i.
! Expression j < k sets condition code.
end;
C/C++ prototype for accessing pTAL shell procedure:
_tal _alias ("P_SHELL") short xyz
(int* result, short i, int* j, long long k);
530 RETURN, RETURNSCC, and C/C++ on TNS/E