View difference between Paste ID: jRH5f2U1 and SGDtTPVC
SHOW: | | - or go back to the newest paste.
1
# Example 1
2
on "Hello World"
3
	after("Hello ")
4
	erase("l")
5
	print()
6
7
# Example 2
8
vertices = Vector<Float>()
9
10
on vertices
11
	add(x)
12
	add(y)
13-
	add(z)
13+
	add(z)
14
15
# Is the same as:
16
vertices.add(x)
17
vertices.add(y)
18
vertices.add(z)
19
20
# The expression after the 'on' keyword is guaranteed to be evaluated *once* only.