[Coco] basic09 clear screen
Wayne Campbell
asa.rand at gmail.com
Sat Aug 2 00:33:28 EDT 2014
The Basic09 Level 2 manual has a list of ascii codes on pages 9-1 through
9-3
Besides CHR$(12); (make sure you use the ; if you want the cursor to remain
at the top of the window, otherwise it will appear on the next line) there
are the following methods you can choose from:
GFX2 command CLEAR: RUN GFX2("CLEAR")
SHELL command: SHELL "ex display 0C", which uses the display command to
issue the clear-screen character (in hex-format); ex discards the new shell
before running the command
PUT command: PUT #1, 12; or PUT #1, $0C, the #1, is standard output path,
or the screen, 12 and $03 both represent the ascii value 12, which is the
clear-screen character
Hope this helps.
Wayne
On Fri, Aug 1, 2014 at 7:11 PM, keithclark1966 at gmail.com <
keithclark1966 at gmail.com> wrote:
> Thanks Bill, but is there a chr$ table available for basic09?
>
> Keith
>
>
>
> On Fri, Aug 1, 2014 at 10:10 PM, Bill Nobel <b_nobel at hotmail.com> wrote:
>
> > use print chr$(12)
> >
> > Bill Nobel
> >
> > > On Aug 1, 2014, at 8:01 PM, keithclark1966 at gmail.com wrote:
> > >
> > > I don't seem to be able to find a way to be able to clear a screen
> within
> > > basic09! I've gone through the Basic09 reference manual and cannot
> find
> > > any information regarding this function.
> > >
> > > Keith
> > >
> > > --
> > > Coco mailing list
> > > Coco at maltedmedia.com
> > > http://five.pairlist.net/mailman/listinfo/coco
> > >
> >
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > http://five.pairlist.net/mailman/listinfo/coco
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
--
Wayne
The Structure of I-Code
http://www.cocopedia.com/wiki/index.php/The_Structure_of_I-Code
decode
http://cococoding.com/wayne/
More information about the Coco
mailing list