On 21 Jan 2008, at 11:02, Wolfgang Lenerz 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.

Unless you rename it "" (blank).

The job ID of SBASIC will not be 0.

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

Reply via email to