View difference between Paste ID: BZ4mLKwn and VibLWDnp
SHOW: | | - or go back to the newest paste.
1-
Application["Hello World"]
1+
# Define Application properties
2
Application->title   < "Hello World"
3-
# Variables
3+
Application->author  < "Morph"
4
Application->version < "0.0.1"
5
6
# Some variables
7
mem input
8-
# Get input from cli
8+
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-
# Output the data
17+
18-
out "Input: " + input
18+
19-
out "Input Upper:" + inputUpper
19+
20-
out "Input Lower:" + inputLower
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