Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
5
Task/Runtime-evaluation/Ring/runtime-evaluation-1.ring
Normal file
5
Task/Runtime-evaluation/Ring/runtime-evaluation-1.ring
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Eval("nOutput = 5+2*5 " )
|
||||
See "5+2*5 = " + nOutput + nl
|
||||
Eval("for x = 1 to 10 see x + nl next")
|
||||
Eval("func test see 'message from test!' ")
|
||||
test()
|
||||
12
Task/Runtime-evaluation/Ring/runtime-evaluation-2.ring
Normal file
12
Task/Runtime-evaluation/Ring/runtime-evaluation-2.ring
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
5+2*5 = 15
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
message from test!
|
||||
9
Task/Runtime-evaluation/Ring/runtime-evaluation-3.ring
Normal file
9
Task/Runtime-evaluation/Ring/runtime-evaluation-3.ring
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
while true
|
||||
see nl + "code:> "
|
||||
give cCode
|
||||
try
|
||||
eval(cCode)
|
||||
catch
|
||||
see cCatchError
|
||||
done
|
||||
end
|
||||
20
Task/Runtime-evaluation/Ring/runtime-evaluation-4.ring
Normal file
20
Task/Runtime-evaluation/Ring/runtime-evaluation-4.ring
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
code:> see "hello world"
|
||||
hello world
|
||||
code:> for x = 1 to 10 see x + nl next
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
|
||||
code:> func test see "Hello from test" + nl
|
||||
|
||||
code:> test()
|
||||
Hello from test
|
||||
|
||||
code:> bye
|
||||
Loading…
Add table
Add a link
Reference in a new issue