Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sam-Clip
#9
(11-06-2022, 05:25 AM)SMcNeill Wrote: And now I don't even remember what the heck you're talking about?  keystrokes for completion?  What the heck did I end up doing with that last version of SDL back when??
@SMcNeill

Wasn't this by you? Contents of a post made on the oldest QB64 forum:

As requested by OlDosLover here:



Quote from: OlDosLover on January 02, 2013, 05:13:04 AM

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: /NOLINK/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: /NOLINK/www.qb64.net/forum/index.php?topic=10350.0

*version 954a3 fixes the FOR-NEXT bug inside $CHECKING:OFF as described by Galleon here: /NOLINK/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.  /NOLINK/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. 

(end of post)

My underline above, and I also "neutralized" the links that do not work toward the oldest QB64 forum.

I have the 0.954d3 archive in RAR format. It's only 1.2MB so I could probably place it as attachment on this forum.
Reply


Messages In This Thread
Sam-Clip - by Pete - 11-04-2022, 10:46 PM
RE: Sam-Clip - by Pete - 11-06-2022, 01:23 AM
RE: Sam-Clip - by Jack - 11-06-2022, 01:32 AM
RE: Sam-Clip - by Pete - 11-06-2022, 01:42 AM
RE: Sam-Clip - by Jack - 11-06-2022, 01:45 AM
RE: Sam-Clip - by Pete - 11-06-2022, 01:48 AM
RE: Sam-Clip - by mnrvovrfc - 11-06-2022, 05:15 AM
RE: Sam-Clip - by SMcNeill - 11-06-2022, 05:25 AM
RE: Sam-Clip - by mnrvovrfc - 11-06-2022, 06:26 AM
RE: Sam-Clip - by Pete - 11-06-2022, 09:02 AM
RE: Sam-Clip - by Pete - 11-07-2022, 03:39 PM
RE: Sam-Clip - by Pete - 11-09-2022, 11:48 PM
RE: Sam-Clip - by Pete - 11-19-2022, 10:27 AM
RE: Sam-Clip - by Jack - 11-19-2022, 01:13 PM
RE: Sam-Clip - by Pete - 11-19-2022, 04:18 PM
RE: Sam-Clip - by Dav - 11-19-2022, 05:06 PM
RE: Sam-Clip - by Pete - 11-19-2022, 05:27 PM
RE: Sam-Clip - by Dav - 11-19-2022, 06:01 PM
RE: Sam-Clip - by Pete - 11-19-2022, 06:30 PM
RE: Sam-Clip - by Jack - 11-19-2022, 06:49 PM
RE: Sam-Clip - by Pete - 11-19-2022, 07:15 PM
RE: Sam-Clip - by Jack - 11-19-2022, 07:26 PM
RE: Sam-Clip - by PhilOfPerth - 11-19-2022, 11:49 PM
RE: Sam-Clip - by Pete - 11-20-2022, 06:28 AM
RE: Sam-Clip - by PhilOfPerth - 11-20-2022, 11:00 AM



Users browsing this thread: 4 Guest(s)