mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
This moves the CONST replacement up before we turn the elements into a single string. The advantage is that we don't have to worry about splitting the string properly to find the CONST names as the elements are already split for us.t
54 lines
651 B
Text
54 lines
651 B
Text
Empty element:
|
|
strIndex = 1: -1
|
|
Index = -1: 0
|
|
|
|
element: foo
|
|
strIndex: -1
|
|
Index: 1
|
|
element:
|
|
strIndex: -1
|
|
Index: -1
|
|
|
|
element: &HADDD
|
|
strIndex: 20
|
|
Index: 5
|
|
element: 20202020
|
|
strIndex: 11
|
|
Index: 4
|
|
element: baz
|
|
strIndex: 7
|
|
Index: 3
|
|
element: bar
|
|
strIndex: 3
|
|
Index: 2
|
|
element: foo
|
|
strIndex: -1
|
|
Index: 1
|
|
element:
|
|
strIndex: -1
|
|
Index: -1
|
|
|
|
element:
|
|
strIndex: 14
|
|
Index: 7
|
|
element: &HADDD
|
|
strIndex: 7
|
|
Index: 6
|
|
element:
|
|
strIndex: 6
|
|
Index: 5
|
|
element:
|
|
strIndex: 5
|
|
Index: 4
|
|
element: baz
|
|
strIndex: 1
|
|
Index: 3
|
|
element:
|
|
strIndex: -2
|
|
Index: 2
|
|
element:
|
|
strIndex: -1
|
|
Index: 1
|
|
element:
|
|
strIndex: -1
|
|
Index: -1
|