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

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

Import orca & thune.

Line 
1REBOL[]
2
3a: [1 2 3]
4b: ['a 'b 'c]
5print insert a b
6print insert next a b
7print head a
8
9a: [1 2 3]
10print insert tail a b
11print head a
12
13a: [1 2 3]
14print insert/only next a b
15probe head a
16
17
18a: "123"
19b: "abc"
20print insert a b
21print insert next a b
22probe head a
23
24a: "123"
25print insert tail a b
26probe head a
27
28a: "123"
29probe insert/only next a b
30probe head a
31
32
33probe head insert "abc" [1 2 3]
34
35probe head  insert [1 2 3] "abc"
36
37print rejoin [1 2 3 "hello" 4.5]
Note: See TracBrowser for help on using the browser.