parent
3867ef4991
commit
c5299c719f
@ -0,0 +1,15 @@
|
||||
PRINT "Hello, world"
|
||||
|
||||
IF method < 2 THEN
|
||||
IF method == 0 THEN
|
||||
PRINT_FLUSH_GLOBAL(mission)
|
||||
ELSE
|
||||
PRINT_FLUSH_GLOBAL(notify)
|
||||
END IF
|
||||
ELSE
|
||||
IF method == 2 THEN
|
||||
PRINT_FLUSH_GLOBAL(toast, 1)
|
||||
ELSE
|
||||
PRINT_FLUSH_GLOBAL(announce, 1)
|
||||
END IF
|
||||
END IF
|
@ -0,0 +1,29 @@
|
||||
set main__tmp_0 "Hello, world"
|
||||
print main__tmp_0
|
||||
set main__tmp_2 method
|
||||
set main__tmp_3 2
|
||||
op lessThan main__tmp_1 main__tmp_2 main__tmp_3
|
||||
jump main__label_0_else notEqual main__tmp_1 true
|
||||
set main__tmp_5 method
|
||||
set main__tmp_6 0
|
||||
op equal main__tmp_4 main__tmp_5 main__tmp_6
|
||||
jump main__label_2_else notEqual main__tmp_4 true
|
||||
message mission
|
||||
jump main__label_3_endif always 0 0
|
||||
main__label_2_else:
|
||||
message notify
|
||||
main__label_3_endif:
|
||||
jump main__label_1_endif always 0 0
|
||||
main__label_0_else:
|
||||
set main__tmp_8 method
|
||||
set main__tmp_9 2
|
||||
op equal main__tmp_7 main__tmp_8 main__tmp_9
|
||||
jump main__label_4_else notEqual main__tmp_7 true
|
||||
set main__tmp_10 1
|
||||
message toast main__tmp_10
|
||||
jump main__label_5_endif always 0 0
|
||||
main__label_4_else:
|
||||
set main__tmp_11 1
|
||||
message announce main__tmp_11
|
||||
main__label_5_endif:
|
||||
main__label_1_endif:
|
@ -0,0 +1,16 @@
|
||||
print "Hello, world"
|
||||
jump main__label_0_else greaterThanEqual method 2
|
||||
jump main__label_2_else notEqual method 0
|
||||
message mission
|
||||
jump main__label_1_endif always 0 0
|
||||
main__label_2_else:
|
||||
message notify
|
||||
jump main__label_1_endif always 0 0
|
||||
main__label_0_else:
|
||||
jump main__label_4_else notEqual method 2
|
||||
message toast 1
|
||||
jump main__label_5_endif always 0 0
|
||||
main__label_4_else:
|
||||
message announce 1
|
||||
main__label_5_endif:
|
||||
main__label_1_endif:
|
Loading…
Reference in new issue