[Coco] sn error

Bob Devries devries.bob at gmail.com
Thu Apr 26 19:31:59 EDT 2007


The manual definition for HLINE is:

HLINE (x1,y1)-(x2,y2),c,a
Draws a line on the hi-resolution screen.
(x1,y1)    starting point of line. If omitted, the line starts at the last 
ending point or the center of the screen.
-(x2,y2)    Ending point of HLINE
c    defines color (Required). PSET selects current foreground color. PRESET 
selects current background color.
a    Box action(Optional). If omitted, BASIC draws a line. If B is used, 
BASIC draws a box, using the starting and ending points as opposite corners 
of the box. If BF is used, BASIC draws a solid box.
HLINE (22,33)-(100,90),3,BF


--
Regards, Bob Devries, Dalby, Queensland, Australia

Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.

website: http://www.home.gil.com.au/~bdevasl
my blog: http://bdevries.invigorated.org/

----- Original Message ----- 
From: "mike delyea" <mdelyea at gmail.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Friday, April 27, 2007 8:01 AM
Subject: [Coco] sn error


> Any idea why this is throwing a syntax error in LINE 20 WITH SECB on coco3
>
> 10 HSCREEN 4
> 20 HLINE (10,10)-(20,20),,B
> 30 GOTO 30
>
> I also tried HLINE(10,10)-(20,20),1,B
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list