Re: [Ql-Users] Daughter Job?

2008-01-21 Thread George Gwilt
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

Re: [Ql-Users] Daughter Job?

2008-01-21 Thread Malcolm Lear
Excellent! Thanks Wolfgang. Malcolm Wolfgang Lenerz wrote: > 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 >>

Re: [Ql-Users] Daughter Job?

2008-01-21 Thread Wolfgang Lenerz
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 th

[Ql-Users] Daughter Job?

2008-01-21 Thread Malcolm Lear
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 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm