So I couldn't sleep last night, so I completely updated CONST and our internal math routines...
Bug here is fixed:
https://www.qb64.org/forum/index.php?topic=703.0********************
You can now use CONST with our math routines. Before, the following would error out for us:
CONST X = 1.2
CONST Y = INT(X)
Now, QB64 handles those routines just fine with the extended math functions.
**********************
The math routine got overhauled. Originally, the math functions to CONST were added several months BEFORE they were added into the main language itself. They were drafted into purpose from my experimental SteveIDE, and didn't match our standard naming convention.
Believe it or not, CONST X = ARCCOS(0.5) used to work just fine for us. (Unless I've got the name wrong...)
QB64, however, works with _ACOS, as that was the name the community decided on when the command was added into the language...
So, to correct this issue, I've changed the names you can use in CONST so they now match the actual syntax for the language.
********************
Several thousand lines of SteveIDE-related error-checking was removed, leaving QB64.bas and QB64.exe both smaller by quite a bit.
********************
Grab a copy of the Github version I forked off for the changes, and test to see if anything freezes, errors out, or returns false results. If all works as it should, the changes can be merged into the main repo soon and everyone can enjoy these fixes/enhancements.