root/trunk/orca/tests/working/poke.r

Revision 1, 211 bytes (checked in by krobillard, 3 years ago)

Import orca & thune.

Line 
1REBOL[]
2
3x: [1 x/1: 2]
4do x
5
6x: [1 x/1: 3 x/6: 4 2]
7probe x
8print x
9probe reduce x
10
11x: [1  poke x 1 3  probe x poke x 12 4  2]
12probe x
13probe reduce x
14
15
16pick [1 2 3] 1
17pick [1 2 3] -2
18pick skip [1 2 3 4 5] 3 -2
19
Note: See TracBrowser for help on using the browser.