Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # a for loop where keyword "iter" inside scope will return current iteration
- loop 1..20:
- if iter == 1 # first loop
- # same as above however iter will now be stored in variable "i"
- loop 1..20 as i:
- i == iter
- #works as while loop
- loop True:
- dostuff()
- # foreach loop
- loop array:
- dostuff(iter)
- # standard
- if a == b:
- # a is b
- else:
- # a is not b
- #switch
- if a:
- is 5:
- # a is 5
- is b:
- # a is b
- return #escapes the if scope
- is not b:
- #a is not b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement