As requested by OlDosLover here:

I think these tweaks should all be in one place for consolidation purposes. I also think you should make a copy of the source available for download for people that dont wish to delve into modifying the source themsleves and would rather use the finished product.

So, I'm doing as requested and uploading everything all prepackaged, for those who aren't that interested in changing the source code themselves...

So, what does this do for us that the latest QB64 SDL doesn't do?

* It fixes the WRITE bug that can eat your code.

* It makes fixed length strings available for use with _MEM.

* It makes fixed length string arrays available for use with _MEM.

* It expands the CONST command so that we can now use it with _RGB values. (As discussed here: http://www.qb64.net/forum/index.php?topic=10244.0)

* It strips out portions of the QB64 source into component modules, to make moving around and editing inside them a bit easier, and to start us in the direction of an eventual modularized version of QB64.

* version 954a2 fixes the bug that was causing PRINT USING to sometimes display wrong results as discussed here: http://www.qb64.net/forum/index.php?topic=10350.0

*version 954a3 fixes the FOR-NEXT bug inside $CHECKING:OFF as described by Galleon here: http://www.qb64.net/forum/index.php?topic=10353.msg85694#msg85694

* It adds support for a new _MATH sub-function for use only inside CONST. _MATH allows us to use COS, SIN, TAN, ATN, LOG, SQR, CSC, SEC, COT, PI inside our CONST. Usage will be explained better a few posts lower. http://www.qb64.net/forum/index.php?topic=10251.msg85768#msg85768

*version 954a4 credit goes completely to DSMan195276. Everyone give Matt a big old "Thank You!" for this expansion. What did he do for us? He went in and expanded the _math function which we could use with our constants so that it would work recursively with itself. Before CONST x = _math(COS(30)) would work, but CONST x = _math(COS(COS(30))) would not. Now, that's fixed. We can now use our functions inside our functions, with no problems. Even things like Const x = _math(1) works now, where before it needed one of our functions for it to work. Many thanks Matt!

*version 954a5 adds multiple variable support on the lines that use _RGB with CONST now. If you use _MATH with CONST, **KEEP** math for a single variable until use for it can be expanded upon as well.

*version 954b now

*finally* allows us to use multiple variables with the _MATH function as well. No more worrying over 1 per line, and you can mix and match them up. CONST x = _math(cos(30)), a = 14, b = _RGB32(255,255,0) will all work on a single line now and generate proper results for all the variables in the mix. (Or should I say all the constants in the mix.

)

*version 964c now allows us to generate our own quick insertion codes, to reduce typing and repetitive stress injuries on our fingers and knuckles.

Just download, extract in the original Qb64 (SDL version) directory (nothing overwrites existing files), and then use the exe here to write and compile your programs, and you're all set to take advantage of these tweaks and modifications. It's that simple.