Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bug when using _Dest _Console
#10
(09-14-2022, 02:09 PM)bplus Wrote: Screen 0 does know what characters and color are at each cell position, it might be recreated easily with a sub or function. And more cleverness could handle scrolling. Maybe just echo everything to a .txt file.
If the SCREEN 0 has to display a bit of stuff, yes, using "SCREEN()" function could be enough. But if it begins to display something at the top, once something large at the bottom begins to be outputted, it. Is. Lost. Some people tried to get around it by using "WIDTH" which led to more frustration when they asked for even more things printed on the screen.

Anyway QB64 is more advanced than that having "_CLIPBOARD$", the problem is must have one string variable to concatenate to which could be very slow, only so it becomes the value of "_CLIPBOARD$" at the end for the sake of an output file. It became even more advanced supporting the console as well as the screenie, but...

Using "_MEMIMAGE()" or alike would bring back the problem with using "WIDTH", how large do I have to make the buffer before I start printing stuff? Instead of trying to make more characters across, have to define the size of the page. Could hack into QB64PE to change the SCREEN 0 to behave like "cmd.exe" or Linux terminal setting a limit of a number of lines to save to a buffer but that could cause the user program's executable to demand more RAM. Again, have to decide there how many characters per line, at least 80.

I admit, I liked Liberty BASIC only because of that "mainwin", it was useful for treating a computer running BASIC like a fancy calculator that printed on paper. The only change is to include those very-large and very-small numbers you guys keep featuring on this site.
Reply


Messages In This Thread
bug when using _Dest _Console - by Jack - 09-13-2022, 10:18 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-13-2022, 10:51 PM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 12:31 AM
RE: bug when using _Dest _Console - by Jack - 09-14-2022, 12:34 AM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 12:43 AM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 03:43 AM
RE: bug when using _Dest _Console - by Jack - 09-14-2022, 04:30 AM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 05:24 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 04:42 AM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 02:09 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 03:27 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 04:40 PM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 04:14 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 06:52 PM
RE: bug when using _Dest _Console - by bplus - 09-14-2022, 07:07 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-14-2022, 07:38 PM
RE: bug when using _Dest _Console - by Pete - 09-14-2022, 07:53 PM
RE: bug when using _Dest _Console - by mnrvovrfc - 09-16-2022, 08:45 PM
RE: bug when using _Dest _Console - by Pete - 09-16-2022, 09:11 PM
RE: bug when using _Dest _Console - by Pete - 09-20-2022, 08:12 PM



Users browsing this thread: 15 Guest(s)