[Coco] Error in BASIC manual. ?
michaelkline704 at gmail.com
michaelkline704 at gmail.com
Sun Jul 17 14:49:04 EDT 2022
No, spaces would not be an issue. I haven't programmed anything with CoCo3 Hi-res commands in a long time. But, I am now very curious why I also get a ?SN ERROR.
Michael
-----Original Message-----
From: Coco <coco-bounces at maltedmedia.com> On Behalf Of Bruce W. Calkins via Coco
Sent: 17 July 2022 12:31
To: coco at maltedmedia.com
Cc: Bruce W. Calkins <brucewcalkins at charter.net>
Subject: Re: [Coco] Error in BASIC manual. ?
Could the spaces be a problem?
Indicated with a *.
30 *HLINE*(22,33*)-(100,90)*,3,BF
30 HLINE(22,33)-(100,90),3,BF
Bruce W.
On 7/17/22 08:41, coco--- via Coco wrote:
>
> I tried putting
>
> 30 HLINE (22,33 )-(100,90) ,3,BF
>
> in a basic program but when I run it I get ?SN ERROR IN 30
>
> I followed the manual example exactly and I have included the entry
> for this command from a PDF of the manual in the coco archives as you
> can see I copied the command exactly so why am I getting an error ?
>
> HLiNE (xl ,yl)-(x2,y2),c,a
> HRESET (x,y)
> Draws a line on the high-resolution graphics screen.
> (x1,y1) Starting point of line. If omitted the line starts at the last
> ending point o r the center of the screen
> -(x2.y2) Ending point of HLiNE.
> c Defines color (Required). PSET
> selects current foreground color.
> Resets a point on the high-resolution graphics screen to the
> background color.
> HRESET (22,33)
> HSCREEN mode
> Selects a high-resolution graphics screen mode.
> Modes 1-4 also clear the high-resolutio(1 graphics PRESET selects
> current background color a HPUT (SK,sy)-(ex,ey),b,a screen.
> mode
> BASIC draws a box, using the
> starting and ending points as
> opposite corners of the box. If
> BF
> used, BASIC draws a solid box.
> HLINE (22,33 )-(100,90) ,3,BF
>
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list