TMaxReturnCount
TMaxReturnCount
This variable sets the number of timer ticks (18.2 ticks per second)
that TMaxCreateTask will execute in a program before returning to the
original program. If it is set to 0 it will stay in the original
program. By setting TMaxReturnCount to a number other than 0 you can run
a program for a few seconds and come back. This is used to preload tasks
that you might later want to switch to.
Example:
TMaxReturnCount = 27 ;1.5 Seconds
TMaxCreateTask 'DM3.EXE' ;load a file manager
TMaxReturnCount = 0 ;set back to 0 for normal usage