On 2012 Oct 30, at 12:15 PM, Richard wrote:
In article <CAArkeuhSPAQaF40hQ-
jtzJBs34D2420U47EbZ0j9yjXHij9P8w at mail.gmail.com>,
Jarratt RMA <robert.jarratt at ntlworld.com> writes:
It has been many years since I wrote any
VAX-Pascal and I find myself
needing to write an AST.
When I see "AST", I think "abstract syntax tree", but that appears
to
have nothing to do with your problem. What do you mean by AST?
IIRC, they were user-specified 'callback' routines from system calls.
For example, if you want to do non-blocking IO, you would make a
system call to queue the IO request, specifying your callback (AST)
routine as an arg in the system call. The system call returns
immediately, when the I/O request completes the system executes your
AST routine asynchronously to notify you.
I couldn't answer the OP's question definitively, but I did kind of
wonder if the problem might be something to do with using Pascal for
the AST.