Advertisement
morphesus

Script Test 2

Jul 12th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Define Application properties
  2. Application->title < "Hello World"
  3. Application->author < "Morph"
  4. Application->version < "0.0.1"
  5.  
  6. # Some variables
  7. mem input
  8. mem upperInput
  9. mem lowerInput
  10. imu immutable < "Need to be initalized"
  11.  
  12. input < "Some test timput"
  13. immutable < "Will throw an error, because imu is constant"
  14.  
  15. # Pull from in stream
  16. in > input
  17.  
  18. # String to upper
  19. upperInput < input->upper
  20.  
  21. # String to lower
  22. lowerInput < input->lower
  23.  
  24. # Push to out stream
  25. out < "Input: " + input
  26. out < "Input Upper:" + inputUpper
  27. out < "Input Lower:" + inputLower
  28.  
  29. # Exit the application
  30. Application->exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement