I am new to TCL and have a question about arrays...
I have the following arrays but would like to make this one array of 64 numbers.
set ch0_31 [list 8 25 13 21 127 10 18 19 44 29 27 120 35 124 126 41]
set ch31_63 [list 6 12 11 16 15 42 22 26 30 20 85 34 39 121 43 40]
set ch63_95 [list 47 61 51 58 60 48 55 56 84 64 63 68 70 73 74 79]
set ch96_127 [list 46 50 49 53 52 81 59 62 65 57 67 69 76 71 83 77]
Because the line would most likely wrap to the next line, do I need to have some
of continuation character to place this on more than one line and to make it easier to read
instead of the following?
set ch [list 8 25 13 21 127 10 18 19 44 29 27 120 35 124 126 41 6 12 11 16 15 42 22 26 30 20 85 34 39 121 43 40 47 61 51 58 60 48 55 56 84 64 63 68 70 73 74 79 46 50 49 53 52 81 59 62 65 57 67 69 76 71 83 77]
Thanks
I have the following arrays but would like to make this one array of 64 numbers.
set ch0_31 [list 8 25 13 21 127 10 18 19 44 29 27 120 35 124 126 41]
set ch31_63 [list 6 12 11 16 15 42 22 26 30 20 85 34 39 121 43 40]
set ch63_95 [list 47 61 51 58 60 48 55 56 84 64 63 68 70 73 74 79]
set ch96_127 [list 46 50 49 53 52 81 59 62 65 57 67 69 76 71 83 77]
Because the line would most likely wrap to the next line, do I need to have some
of continuation character to place this on more than one line and to make it easier to read
instead of the following?
set ch [list 8 25 13 21 127 10 18 19 44 29 27 120 35 124 126 41 6 12 11 16 15 42 22 26 30 20 85 34 39 121 43 40 47 61 51 58 60 48 55 56 84 64 63 68 70 73 74 79 46 50 49 53 52 81 59 62 65 57 67 69 76 71 83 77]
Thanks