Wolfgang Lenerz wrote:

> How do you find this string? Have you tried finding the command
> string from a QLibbed prog other than with the QLib internal CMD$
> command? The problem is that once you get to the stage where your
> keyword will be invoked, A5 will point to who knows what (in fact,
> the parameter list, relaive to A6).... I see no safe way to find the
> string - but I stand to be corrected!

Donning my "Geoff Wicks constructive subversive" hat, here's a wacky
suggestion:

Define a new system variable ("Heretic!") that points to a table of
pointers, indexed by job number, that each point to a "job data
block". As usual, a zero pointer would mean that no data block exists
for that job.

The job data block could potentially contain lots of useful per-job
information and could be located anywhere in memory - beyond the job's
stack, between the job's code and data areas, in the common heap...

John


_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to