[Coco] Syscall to get the window screen and width

Wayne Campbell asa.rand at gmail.com
Sat Mar 8 18:58:42 EST 2025


That was already answered. The question now is how to determine which
window you're in. I believe that one was also answered, though not with a
specific example of code.

On Sat, Mar 8, 2025, 2:09 PM Jeff Teunissen via Coco <coco at maltedmedia.com>
wrote:

> On Sat, Mar 8, 2025, 10:28 plt via Coco <coco at maltedmedia.com> wrote:
>
> >
> > In Basic09 is there a way to find the current window that your using?
> >
>
> In OS-9, there are always 3 path numbers pre-opened for the program when it
> starts. These are files 0 (standard input), 1 (standard output), and 2
> (standard error output). You don't have to OPEN them, that has already been
> done for you.
>
> So you should be able to call syscall using the code for I$GetStt, and the
> GetStat code SS.ScSiz, using file number 1.
>
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list