1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-06 07:00:23 +00:00
QB64-PE/source/utilities/const_eval.bi
Matthew Kilgore 90941fffa7 Replace CONSTs while we have the individual elements
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
2024-01-18 13:00:13 -05:00

21 lines
359 B
Plaintext

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