From: Lily s. <lil...@gm...> - 2012-08-07 13:14:30
|
On Tue, Aug 7, 2012 at 9:13 PM, Lily shen <lil...@gm...> wrote: > Dear Developers! > Sorry about former letter. I want to add a proble about task body: > I find that when tasktype is periodic or repeating, the codes generated > always is "while(true)". And sometimes I want to write codes like this: > while(true) > { > ... > if(...) > break; or return a; > } > Thank you! > > On Tue, Aug 7, 2012 at 9:05 PM, Lily shen <lil...@gm...> wrote: > >> Dear Developers! >> When I use Multiple Tasking CodeGeneration plug-in, I have two problems >> about the writting of task body. >> 1.For simple task type, is there some differences about triggered and >> oneshot? >> 2.When loop ont event, I can write it as do event1, but how can I write >> the case below? >> while(guards) >> { >> if(guard1) >> ... >> else if >> ... >> else >> ... >> } >> > > |