bug when using _Dest _Console - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: bug when using _Dest _Console (/showthread.php?tid=887) |
RE: bug when using _Dest _Console - mnrvovrfc - 09-14-2022 https://qb64phoenix.com/forum/showthread.php?tid=887&pid=6669#pid6669 If the function detects a newline is it changed only to CHR$(13)? On Windows might have to do CHR$(13) + CHR$(10) instead, if the intention was to produce a new line. But what is it with that funny space that keeps being shown in these screenshots? Now I understand that the "qbs_input()" is allocating a space to put in something else. It appears in many other places in the code. Confusing but it's how Galleon originally designed it to emulate M$QB string management. RE: bug when using _Dest _Console - Pete - 09-14-2022 I was able to use ctrl+c to copy from the console, and ctrl + v to paste to input. The right click might be something Indy is recalling form some pop-up menu QBasic had. I rarely used that, and for the life of me, I can't recall when and where it was available. The sheel window, maybe? Oh well, like Mark stated, now CONSOLE has 3 things going for it. Pete RE: bug when using _Dest _Console - Kernelpanic - 09-14-2022 Quote:I looked at the screenshot. "scanf()" only picks up as many characters as it thinks should fit into the type asked for by the "format" first parameter it's given, that's why it displayed strange values in the first and second attempts. If it's going to convert improperly like that, it's not going to matter if it could accept 10 digits or 100 digits. Yes, but it shows that something is wrong. And that, I think, is the main thing. "scanf" is one of those things, but I'd have to look at my books and notes again now -- No, nullo interresto! RE: bug when using _Dest _Console - SpriggsySpriggs - 09-14-2022 (09-14-2022, 07:07 PM)bplus Wrote: Oh yeah, you can copy paste from console, just not from right mouse menu: A menu won't appear on right-click but it does copy the contents of your selection. RE: bug when using _Dest _Console - mnrvovrfc - 09-16-2022 https://github.com/QB64Official/qb64/issues/33 This is very interesting. Maybe not for folks using Windows. BTW that other QB64 does the same exact thing @Jack observed. RE: bug when using _Dest _Console - Pete - 09-16-2022 (09-16-2022, 08:45 PM)mnrvovrfc Wrote: https://github.com/QB64Official/qb64/issues/33 Similar issues with $CONSOLE:ONLY with my Win10, but I'm using Development build 2.1 still. Pete RE: bug when using _Dest _Console - SpriggsySpriggs - 09-20-2022 Have y'all considered using the console input functions RE: bug when using _Dest _Console - Pete - 09-20-2022 (09-20-2022, 04:11 PM)Spriggsy Wrote: Have y'all considered using the console input functions Since when did Indiana cross the Mason-Dixon line? Pete |