*** test program for CIdStack class.
initial state:
--- content of stack
 elm num : 0
--- end
push 100
--- content of stack
 elm num : 1
 0: value = 100
--- end
push 24 times.
push 0
push 1
push 2
push 3
push 4
push 5
push 6
push 7
push 8
push 9
push 10
push 11
push 12
push 13
push 14
push 15
push 16
push 17
push 18
push 19
push 20
push 21
push 22
push 23
--- content of stack
 elm num : 25
 24: value = 23
 23: value = 22
 22: value = 21
 21: value = 20
 20: value = 19
 19: value = 18
 18: value = 17
 17: value = 16
 16: value = 15
 15: value = 14
 14: value = 13
 13: value = 12
 12: value = 11
 11: value = 10
 10: value = 9
 9: value = 8
 8: value = 7
 7: value = 6
 6: value = 5
 5: value = 4
 4: value = 3
 3: value = 2
 2: value = 1
 1: value = 0
 0: value = 100
--- end
peek top -> 23
peek 0 -> 100
peek 2 -> 1
peek 5 -> 4
pop 40 times.
0: -> result: 23
1: -> result: 22
2: -> result: 21
3: -> result: 20
4: -> result: 19
5: -> result: 18
6: -> result: 17
7: -> result: 16
8: -> result: 15
9: -> result: 14
10: -> result: 13
11: -> result: 12
12: -> result: 11
13: -> result: 10
14: -> result: 9
15: -> result: 8
16: -> result: 7
17: -> result: 6
18: -> result: 5
19: -> result: 4
20: -> result: 3
21: -> result: 2
22: -> result: 1
23: -> result: 0
24: -> result: 100
25: -> result: nil
26: -> result: nil
27: -> result: nil
28: -> result: nil
29: -> result: nil
30: -> result: nil
31: -> result: nil
32: -> result: nil
33: -> result: nil
34: -> result: nil
35: -> result: nil
36: -> result: nil
37: -> result: nil
38: -> result: nil
39: -> result: nil
clear.
--- content of stack
 elm num : 0
--- end
bye.
