_printmode ??? - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: _printmode ??? (/showthread.php?tid=2078) |
_printmode ??? - James D Jarvis - 10-10-2023 why doesn't this work? Code: (Select All) Screen _NewImage(400, 300, 32) this is a simplified example from what I was doing but it produces the same syntax error. I was able to get arround the problem but this is just annoying: Code: (Select All) Screen _NewImage(400, 300, 32) RE: _printmode ??? - TerryRitchie - 10-10-2023 (10-10-2023, 07:36 PM)James D Jarvis Wrote: why doesn't this work?_PRINTMODE does not accept a numeric value as a mode parameter, only _KEEPBACKGROUND, _ONLYBACKGROUND, and _FILLBACKGROUND. I agree though, this seems like an oversight. If the _PRINTMODE function gives you a numeric value it should also allow a numeric value between 1 and 3 as a valid mode. RE: _printmode ??? - TerryRitchie - 10-10-2023 You could use a function like this: Code: (Select All) CONST __REPORT = 0 |