mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 05:34:47 +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
9 lines
161 B
QBasic
9 lines
161 B
QBasic
$CONSOLE:ONLY
|
|
|
|
' Multiple CONST values can be declared in a single line
|
|
CONST a = 20, b = 40, c = 60
|
|
CONST foo = a, bar = b + c
|
|
|
|
PRINT a; b; c; foo; bar
|
|
|
|
SYSTEM
|