How to use JOBS

Anything QL Software or Programming Related.
Post Reply
User avatar
radastan
ROM Dongle
Posts: 46
Joined: Sat Jan 11, 2014 8:11 pm

How to use JOBS

Post by radastan »

Hi all,

I am learning how to use JOBS from SuperBasic. I know JOBS command, but I can not find any reference of how to use RJOB and if there is any more command relative to manage jobs from SuperBasic.


User avatar
tofro
Font of All Knowledge
Posts: 2724
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: How to use JOBS

Post by tofro »

Oh, there's a whole bunch of commands around JOBS, being basically the core element of QDOS:
AJOB, RJOB, SJOB,....

You would want to read through the TK2 docs here
http://www.dilwyn.me.uk/pe/tk2.zip

Regards,
Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
radastan
ROM Dongle
Posts: 46
Joined: Sat Jan 11, 2014 8:11 pm

Re: How to use JOBS

Post by radastan »

¡Thanks! :D


User avatar
radastan
ROM Dongle
Posts: 46
Joined: Sat Jan 11, 2014 8:11 pm

Re: How to use JOBS

Post by radastan »

Another question: ¿How can I launch a SuperBasic program as another job? ¿Is possible?


User avatar
Mr_Navigator
QL Fanatic
Posts: 782
Joined: Mon Dec 13, 2010 11:17 pm
Location: UK, Essex
Contact:

Re: How to use JOBS

Post by Mr_Navigator »

I believe only with a Minerva ROM or SMSQ/e based system such as QPC2. Its in the manual(s)


-----------------------------------------------------------------------------------
QLick here for the Back 2 the QL Blog http://backtotheql.blogspot.co.uk/
User avatar
dex
Gold Card
Posts: 288
Joined: Thu Dec 23, 2010 1:40 pm

Re: How to use JOBS

Post by dex »

ECEX PIPEP under Minerva opens a new empty Basic process.
EXEC or EX of a SBasic program under SMSQ/E opens the program as a new job (opposite, LOAD opens program in the same job).
SBASIC opens new empty SBasic process under SMSQ/E.


User avatar
tofro
Font of All Knowledge
Posts: 2724
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: How to use JOBS

Post by tofro »

For "plain old QL" users, there's a program called "MultiBasic" in the DIY Toolkit area ("Toolkits") on Dylwin's page. This does not allow concurrent running of S*Basic jobs, but allows to "freeze" a SuperBASIC program to a job, LRUN another one and come back to the first one with an "unfreeze" command.

(Nearly Multi-Tasking, just with slow task changes... ;) )

On the other hand, you can always compile your SuperBASIC programs using Turbo (free) or Q-Liberator (not free) and make them happily multi-task even on the most basic QL.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
radastan
ROM Dongle
Posts: 46
Joined: Sat Jan 11, 2014 8:11 pm

Re: How to use JOBS

Post by radastan »

Thanks to all.

It's very funny search for QL hints & tips and test it. 8-)


Post Reply