Multitasking in Small Basic
Published Feb 12 2019 05:23 PM 211 Views
Iron Contributor
First published on MSDN on Sep 19, 2016

Authored by Nonki Takahashi


Key Point of Multitasking


What is the difference between single tasking and multitasking?

If two or more tasks work at the same time, some (hardware or software) resources should be shared among them.  The resources may be mouse, timer, variables, or object properties.

LDCall Object in LitDev Extension


There is a useful object LDCall in LitDev extension for multitasking in Small Basic.  YLed wrote a good sample of LDCall object.  This program shows beautiful pictures and play music simultaneously.







I modified his program and published as ZMN750-0 .  The original ZMN750 has a little problem that the sub task (music) ends faster than the main task (slides) and shows "The End" message with larger font.  When the sub task shows the message, it changes GraphicsWindow.FontSize.  After that, the description for photos are displayed with the larger font.  This property is the software resource the two tasks should be share.

Thank you very much YLed for sharing fantastic program.  And also thank you litdev for providing nice challenges and the extension.

See Also



Version history
Last update:
‎Feb 12 2019 05:23 PM
Updated by: