mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
90941fffa7
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
29 lines
362 B
Text
29 lines
362 B
Text
Empty element:
|
|
strIndex = 1: 1
|
|
Index = -1: -1
|
|
|
|
element: foo
|
|
strIndex: 4
|
|
Index: 1
|
|
element:
|
|
strIndex: 4
|
|
Index: -1
|
|
|
|
element: foo
|
|
strIndex: 5
|
|
Index: 1
|
|
element: bar
|
|
strIndex: 9
|
|
Index: 2
|
|
element: baz
|
|
strIndex: 13
|
|
Index: 3
|
|
element: 20202020
|
|
strIndex: 22
|
|
Index: 4
|
|
element: &HADDD
|
|
strIndex: 28
|
|
Index: 5
|
|
element:
|
|
strIndex: 28
|
|
Index: -1
|