You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: umpl_examples/simple.umpl
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,21 @@ create str with ((multiply `ff\n` 5.76))>
8
8
((ge 5 6))>
9
9
((setwith num (strtonum (input `>> `))))>
10
10
((plus num 5))>
11
-
((subtractwith num 4))>>
11
+
((subtractwith num 4))>
12
12
(num)>
13
-
(4)>>
13
+
(4)>
14
14
create str with `df`
15
15
(str)>
16
-
(`fdff\X4\n`)>
16
+
(`fdff\u1f642\`a`)>
17
17
((multiplywith str 5))<
18
-
(str)>>
18
+
(str)>
19
19
((addwith str 5))<
20
-
(str)>>
20
+
(str)>
21
21
create trt with ((plus str 5))>
22
22
((multiplywith trt 5))<
23
-
(trt)>>
23
+
(trt)>
24
24
((addwith trt 5))<
25
-
(str)>>
25
+
(str)>
26
26
((multiplywith str 5))<
27
27
create str with true
28
28
if {true} ⧼ ! if true create a code block (⧼) ends with (⧽)
@@ -35,7 +35,7 @@ if {true} ⧼ ! if true create a code block (⧼) ends with (⧽)
35
35
(`Hello World`)> ! else print the string Hello World (`Hello World`)>
36
36
⧽
37
37
create file with ((open `test.txt`))>
38
-
(`asddff`)>
38
+
(`asddff\n`)>
39
39
list z with [((read file))> true]
40
40
! currently two things cannot have acces to the a variable that holds a file so when we read the file that takes ownership of the file, and can't be accessed anymore,
41
41
! so the following line will throw an error that it could not find the variable file
0 commit comments