[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2021-02-06T21:21:03-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/14859 2021-02-06T21:21:03-05:00 2021-02-06T21:21:03-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=39049#p39049 <![CDATA[string swap bug in QB4.5]]>
This is the code that can successfully reproduce it every single time:

Code:

type ab as string * 6c as string * 6end typedim d as aswap d.b,d.c
And I can tell the problem is down to trying to exchange 2 6-byte string values with swap, because I introduced the command into another one of my programs and when i tried running it, the message at the bottom left was stuck on "binding" and sometimes the screen would either freeze up, or I get booted back to the DOS prompt without the IDE screen being erased first.

Statistics: Posted by mikefromca — Sat Feb 06, 2021 9:21 pm


]]>