On 21 Jan 2008 at 10:49, Malcolm Lear wrote:

> Hi
> 
> A rather odd request, but does anyone know how an SBasic program could 
> determine if
> its running as job 0 or as an executed daughter job?
> 
> Cheers
> Malcolm


Print JOB$(-1) will give "SBASIC" in a daugther job and "" in job 0.

Hope this helps

Wolfgang

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

Reply via email to