cfad47cfa3/t3compiler/tads3/test/log/listprop.log

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
	Files to build: 5
2
	symbol_export _main.t -> _main.t3s
3
	symbol_export listprop.t -> listprop.t3s
4
	compile _main.t -> _main.t3o
5
	compile listprop.t -> listprop.t3o
6
listprop.t(8): warning: value is assigned to local variable "x" but the value is never used
7
	link -> listprop.t3
8
Errors:   0
9
Warnings: 1
10
11
(T3VM) Memory blocks still in use:
12
13
Total blocks in use: 0
14
[1, 2, 3, 4, 5, 6], keep>3 = [4, 5, 6]
15
lst = [6, 5, 4, 3, 2, 1], keep>3 = [6, 5, 4]
16
lst = [6, 5, 4, 3, 2, 1, 9, 0, 10, -1, 11, -2], keep>3 = [6, 5, 4, 9, 10, 11]
17
lst = [6, 5, 4, 3, 2, 1, 9, 0, 10, -1, 11, -2], *100 = [600, 500, 400, 300,
18
200, 100, 900, 0, 1000, -100, 1100, -200]
19
20
Concatenating list to itself: [6, 5, 4, 3, 2, 1, 9, 0, 10, -1, 11, -2, 6, 5, 4,
21
3, 2, 1, 9, 0, 10, -1, 11, -2]
22
23
forEach: 6; 5; 4; 3; 2; 1; 9; 0; 10; -1; 11; -2; 6; 5; 4; 3; 2; 1; 9; 0; 10; -
24
1; 11; -2;
25
26
indexOf 6: 1
27
indexOf -2: 12
28
indexOf 9: 7
29
indexOf 123:
30
31
indexWhich x > 0: 1
32
indexWhich x > 7: 7
33
indexWhich x < 0: 10
34
indexWhich x > 1000:
35
36
valWhich x > 0: 6
37
valWhich x > 7: 9
38
valWhich x < 0: -1
39
valWhich x < 4: 3
40
valWhich x > 2000:
41
42
lastIndexOf 6: 13
43
lastIndexOf -2: 24
44
lastIndexOf 9: 19
45
lastIndexOf 123:
46
47
lastIndexWhich x > 0: 23
48
lastIndexWhich x < 0: 24
49
lastIndexWhich x > 10: 23
50
lastIndexWhich x > 2000:
51
52
lastValWhich x > 0: 11
53
lastValWhich x < 0: -2
54
lastValWhich x > 500:
55
lastValWhich x > 2000:
56
57
countOf 6: 2
58
countOf 5: 2
59
countOf -2: 2
60
countOf 123: 0
61
62
countWhich x > 0: 18
63
countWhich x > 2000: 0
64
countWhich x < 2000: 24
65
66
getUnique: [6, 5, 4, 3, 2, 1, 9, 0, 10, -1, 11, -2]
67
getUnique [5, 1, 5, 2, 5, 5, 2, 7]: [5, 1, 2, 7]
68
69
appendUnique: [1, 2, 3, 4, 5, 6, 8, 10, 12]
70
appendUnique: [1, 2, 3, 4, 5, 6, 7]
71
appendUnique: [1, 2, 3, 4, 5, 6]
72
appendUnique: [1, 2, 3, 4, 5, 6, 9, 11]
73
74
append 77: [1, 2, 3, 4, 5, 6, 77]
75
append [11,22,33]: [1, 2, 3, 4, 5, 6, [11, 22, 33]]
76
77
sort: [1, 3, 5, 6, 7, 8, 9, 11, 17, 20]
78
sort descending: [20, 17, 11, 9, 8, 7, 6, 5, 3, 1]
79
sort in string ordering: [1, 11, 17, 20, 3, 5, 6, 7, 8, 9]
80
81
prepend: [99, 88, 77, 1, 2, 3, 4, 5]
82
83
insert1: [1, 2, 3, 10, 20, 30, 40, 50]
84
insert2: [1, 2, 3, 10, 20, 30, 40, 50, 44, 55, 66]
85
insert3: [1, 2, 3, 10, 777, 888, 999, 20, 30, 40, 50, 44, 55, 66]
86
87
removeAt(6): [1, 2, 3, 10, 777, 999, 20, 30, 40, 50, 44, 55, 66]
88
removeAt(1): [2, 3, 10, 777, 999, 20, 30, 40, 50, 44, 55, 66]
89
removeAt(length): [2, 3, 10, 777, 999, 20, 30, 40, 50, 44, 55]
90
91
removeRange(3, 7): [2, 3, 40, 50, 44, 55]
92
removeRange(1, 2): [40, 50, 44, 55]
93
removeRange(length-1, length): [40, 50]
94
95
'goodbye', len = 7
96
str = 'hello', len = 5
97
str = 'hello!!!', len = 8
98
'goodbye', substr(5) = bye
99
'goodbye', substr(4, 2) = db
100
str = 'hello there', substr(5) = o there
101
str = 'hello there', substr(4, 2) = lo
102
str = 'hello there!!!', substr(5) = o there!!!
103
str = 'hello there!!!', substr(4, 2) = lo
104
105
(T3VM) Memory blocks still in use:
106
107
Total blocks in use: 0