Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function counter { set c to c+1.}
- function startup {
- print "procedure 1 -> "+c.
- SET thrott TO 1. LOCK THROTTLE to thrott.
- set x to 7.32602*10^(-9)*ship:altitude^2 - 0.00168158*ship:altitude + 94.6117.
- counter().
- print " end 1 -> "+c.
- wait 2.
- }
- function start{
- print "procedure 2 -> "+c.
- wait 2.
- SET thrott TO 1. wait .1. stage.
- print "START !!!".
- counter().
- print " end 2 -> "+c.
- wait 2.
- }
- function test{
- print "procedure 3 -> "+c.
- }
- global done to false.
- clearscreen.
- global c to 1.
- until done {
- when c = 1 then startup().
- when c = 2 then start().
- when c = 3 then test().
- when c > 3 then counter().
- when c > 10 then {set done to true.}
- }
- print "done".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement