Next Previous Contents

6. Programming

I've include some NQC functionnalities. They are described here. All function are not here. I work on a autogen doc for declaration.h

6.1 Multitask

I've include the multitask managing. Here is a little program to understand How it work.

task other /* begin of task other */
        wait_touch 2
        sound 1 /* Playsound 1 */
endtask /* end of task other */

begin /* begin of all */
        start other /* start the task other */

        wait_touch 1
        /*go_forward*/
        wait 5
        stop A
        stop B

        stoptask other /* stop task other */
end


Next Previous Contents