mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 02:04:44 +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
20 lines
359 B
Text
20 lines
359 B
Text
|
|
TYPE ConstFunction
|
|
nam AS STRING
|
|
|
|
ArgCount AS INTEGER ' If positive, this is the number of argument this function accepts
|
|
END TYPE
|
|
REDIM SHARED ConstFuncs(1000) AS ConstFunction
|
|
|
|
TYPE ParseNum
|
|
f AS _FLOAT
|
|
i AS _INTEGER64
|
|
ui AS _UNSIGNED _INTEGER64
|
|
s AS STRING
|
|
typ AS LONG
|
|
END TYPE
|
|
|
|
CONST CONST_EVAL_DEBUG = 0
|
|
|
|
Set_ConstFunctions
|
|
|