Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #this is a comment#
  2. var a = 2 #integer#
  3. var b = 3.5678 #floating-point#
  4. var c = "this is a string"
  5. #a boolean type will follow#
  6. loop(34): ... ; #loop, parameter is how often the loop runs#
  7. if(a>1): ... ; #normal 'if'#
  8. else: ... ; #also normal 'else'#
  9. in(a) #a simple input function#
  10. out(b) #a simple output function#
  11.  
  12. #example program: #
  13. var a
  14. loop(10):
  15. in(a)
  16. if(a=="hi"):
  17. out("Hello")
  18. ;
  19. if(a=="help"):
  20. out("this is a new interpreter language")
  21. ;
  22. else:
  23. out("unknown input: '",a,"'")
  24. ;
  25. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement