(11-23-2023, 05:47 PM)aurel Wrote: Really ..that is your answer ...you must be very smart ..for sure
and where is written that QB64 must be clone of quickBasic ..nowhere
Aurel I'm not one of your opponents. Not here to correct only you. But remember that QB64 was originally written by somebody who loved QBasic, the interpreter that came with MS-DOS v5, which was a cut-down version of another commercial Microsoft product, QuickBASIC v4.5. Both of them, QBasic and QuickBASIC, return an Illegal Function Call at
ASC(""). Many people expect that. You are in the minority expecting it to behave like Visual Basic and Freebasic, or whatever was fit much more for Windows than for MS-DOS.
The people who expect QB64 to behave like QBasic and QuickBASIC do not care as well for compatibility with later-arriving BASIC dialects such as Visual Basic, which begins to deviate from what they have known and have become comfortable with. Many people, like me, also expect that QBasic and QuickBASIC were text-mode applications having to go along with the limits that MS-DOS imposed. They are not bothered by inability to deal with WinAPI, GDI and that other junk, in exchange for the old interrupts and I/O ports. If somebody wanted the ghost of a chance to access all RAM or something else about performance of Intel 80286 and later processors built, capable of running WindowsNT and later, back then when the World Series Championship was two years in Canada (before the stupid strike in MLB), we would have had to switch to BASIC PDS v7.1 or maybe VBDOS. Or just wait a few years until Visual Basic for Windows matured.
Another good example of it is what happened to "RETURN" keyword. M$ decided to change it in 2005 or so to match C, Python and the rest of the world of programming. Freebasic joined a bit later, throwing down a bunch of people into "lang qb" mode if they wanted to continue using "RETURN" to relate to "GOSUB". "Using GOSUB and RETURN requires three bytes of code generated by QuickBASIC compiler," Ethan Winer said in his book LOL I still remember.
Ehh... but I think this about "RETURN" causes more division.
Anyway Steve made "his own" version of QB64. Or like two or three others LOL, like the one still based on the old SDL for Windows. The code will have to be forked in order to change at least one behavior that is not perceived as correct, or that is considered convenient. Because not even the "official" QB64 will serve
ASC("") without interrupting program flow and returning an error.