In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Hi Bean, Yes, TASKS INIT would do it. TASKS INIT would be like a directive, not generating any code but just declaring the internal task variables. And if left out, TASKS RUN would declare the variables just as it does now. [quote="Bean"]I don't want to postpone the TASKS RUN code until RETURNINT because that would make the TASKS jittery because the other interrupt code will most likely be a variable number of cycles [/quote]The taskcode by itself is already jittery, and usually I place my own interrupt code before TASKS RUN, but I see that using TASKS INIT gives the option to place task code before other interrupt code. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=369104#m369112 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)