| 1 |
Files to build: 5 |
| 2 |
symbol_export _main.t -> _main.t3s |
| 3 |
symbol_export packarr.t -> packarr.t3s |
| 4 |
compile _main.t -> _main.t3o |
| 5 |
compile packarr.t -> packarr.t3o |
| 6 |
link -> packarr.t3 |
| 7 |
|
| 8 |
(T3VM) Memory blocks still in use: |
| 9 |
|
| 10 |
Total blocks in use: 0 |
| 11 |
format = A4/(A10), args = ['One', 'Two', 'Three', 'Four', 'Five'] |
| 12 |
.. pack hex = |
| 13 |
352020204F6E652020202020202054776F2020202020202054687265652020202020466F7572202 |
| 14 |
02020202046697665202020202020 |
| 15 |
.. unpack = ['One', 'Two', 'Three', 'Four', 'Five'] |
| 16 |
|
| 17 |
format = C/l, args = [[305419896 (0x12345678), 296401868 (0x11AABBCC)]] |
| 18 |
.. pack hex = 0278563412CCBBAA11 |
| 19 |
.. unpack = [305419896 (0x12345678), 296401868 (0x11AABBCC)] |
| 20 |
|
| 21 |
format = A10 X5 A3, args = ['aaaaaaaaaa', 'BBBBB'] |
| 22 |
.. pack hex = 61616161614242426161 |
| 23 |
.. unpack = ['aaaaaBBBaa', 'BBB'] |
| 24 |
|
| 25 |
format = b*, args = ['byte array test!'] |
| 26 |
.. pack hex = 62797465206172726179207465737421 |
| 27 |
.. unpack = ['byte array test!' (ByteArray)] |
| 28 |
|
| 29 |
pack in place |
| 30 |
.. pack hex (full array) = |
| 31 |
050100000002000000030000000400000005000000056F6E650074776F00746872656500666F757 |
| 32 |
20066697665006162632020016465662020026768696A6B00000000000000000000000000000000 |
| 33 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 34 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 35 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 36 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 37 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 38 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 39 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 40 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 41 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 42 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 43 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 44 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 45 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 46 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 47 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 48 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 49 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 50 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 51 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 52 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 53 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 54 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 55 |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 56 |
0000000000000000000000000 |
| 57 |
.. pack hex (up to idx = 64) = |
| 58 |
050100000002000000030000000400000005000000056F6E650074776F00746872656500666F757 |
| 59 |
20066697665006162632020016465662020026768696A6B00 |
| 60 |
.. unpack 1 = [1 (0x1), 2 (0x2), 3 (0x3), 4 (0x4), 5 (0x5), 21 (0x15)] |
| 61 |
.. unpack 2 = ['one', 'two', 'three', 'four', 'five', 25 (0x19)] |
| 62 |
.. unpack 3 = [['abc', 1 (0x1)], ['def', 2 (0x2)], ['ghijk', 0 (0x0)]] |
| 63 |
|
| 64 |
(T3VM) Memory blocks still in use: |
| 65 |
|
| 66 |
Total blocks in use: 0 |