Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
On 02.03.2025 17:32, Scott Lurndal wrote:
Total_memory := 0;
REPEAT
Ss_status := $GETJPI( PIDADR := Wild_pid, EFN := 4, ITMLST := Jpi_list );
IF ODD( Ss_status ) AND (Terminal_len <> 0) THEN
BEGIN
$WAITFR( 4 ); { Wait for asynch stuff to return } >>>
What's that '$' preceding the function names? (I don't recall that
from the Pascal standard or from the versions I programmed with.)
"$" is a legal character in the set that can be used for Pascal identifiers
(and, indeed, in C, specifically to support Digital dialects).
In this particular case, the usage mirrors the MACRO-32 system call identifiers. $GETJPI calls the operating system Get Job Information
system call which takes an item list and returns per-item data (e.g.
process identifier, user id, terminal association, etc) to the caller.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 166:00:54 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,528 |