[iyonix-support] Re: Lazy Task Swapping on Iyonix/RISC OS 5.11

In message <fc24243d4e.wlm@xxxxxxxxx>
          Willem Arends <wlm4p@xxxxxxxxx> wrote:

[snip]

>How/where can I turn LTS on and off?

REM >LazyOff
ON ERROR PROCerror:END
REM Turns Lazy Task Swapping off/on
REM 0 = Disable   1 = Enable
state%=0
SYS"OS_AMBControl",5,state%

REM Test current Lazy Task Swapping State
SYS"OS_AMBControl",5,-1 TO ,state%
CASE state% OF
 WHEN 0:PRINT"Lazy Task Swapping OFF"
 WHEN 1:PRINT"Lazy Task Swapping ON"
ENDCASE
END
:
DEF PROCerror
PRINT REPORT$;" at line ";STR$ ERL
OSCLI("set DeskEdit$ERL "+STR$(ERL))
ENDPROC



-- 
David Pitt.

Computing with RISC OS.
---
To alter your preferences or leave the group, 
visit http://www.freelists.org/list/iyonix-support
Other info via http://www.freelists.org/webpage/iyonix-support

Other related posts: