09-29-2022, 09:00 PM
No such command yet and don't see the "why would you need one"
As every other screen mode than SCREEN 0 has to be explicitly programmed, you should know what mode you gave to the SCREEN call.
And for what exactly you would need the returned mode, other than making another image surface with the same mode, which would be _COPYIMAGE(0).
Or do you need the _PIXELSIZE, _WIDTH or _HIGHT.
Don't get me wrong, it would be pretty easy to implement such a command, as the mode is available in every image surface and just need to be picked and returned. I just don't see any use for it. Maybe you can explain what you try to achive by such a command.
As every other screen mode than SCREEN 0 has to be explicitly programmed, you should know what mode you gave to the SCREEN call.
And for what exactly you would need the returned mode, other than making another image surface with the same mode, which would be _COPYIMAGE(0).
Or do you need the _PIXELSIZE, _WIDTH or _HIGHT.
Don't get me wrong, it would be pretty easy to implement such a command, as the mode is available in every image surface and just need to be picked and returned. I just don't see any use for it. Maybe you can explain what you try to achive by such a command.
GuiTools, Blankers & other Projects:
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23
https://staging.qb64phoenix.com/forumdisplay.php?fid=32
Libraries & useful Functions:
https://staging.qb64phoenix.com/forumdisplay.php?fid=23