Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Initialize()
- {
- executeA();
- executeB();
- }
- @MainLoop()
- {
- yield;
- }
- task executeA()
- {
- let a=0;
- loop
- {
- print( to_string(a) );
- a++;
- yield;
- }
- }
- task executeB()
- {
- let b=0;
- loop
- {
- print( to_string(b) );
- b++;
- loop(2){yield;}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment