[Coco] Obscure DRAW feature from ECB Unravelled

John Strong johnstrong at hotmail.com
Mon Jan 7 19:30:52 EST 2008


Tim,
Good Sluething, however it's been published before, Hot Coco paid me $50 ISTR
for the published tip.
 
Microsoft Basics for MS-DOS use the same syntax.John StrongStrongWare> > ------------------------------> > Message: 3> Date: Sat, 5 Jan 2008 10:23:14 -0800> From: tlindner at macmess.org (tim lindner)> Subject: [Coco] Obscure DRAW feature from ECB Unravelled> To: coco at maltedmedia.com (CoCoList for Color Computer Enthusiasts)> Message-ID: <1ia8n5d.19bdn0e8iacvjM%tlindner at macmess.org>> > I found this in the unravelled book:> > ******************> > There is a certain syntax that must be followed, which to my knowledge> has not yet been published anywhere until now. Following is a short> example of how to do this.> > 10 A=10:B=13 > 20 DRAW "BM=A;,A;;U=B;R=B;D=B;L=B"> > The above program will draw a box that has sides equal to the variable> 'B', as the program stands, line 20 is equivalent to the following: > > 20 DRAW "BM10,10;U13R13D13L13"> > *************************> > But there are two typos in the DRAW command. It should look like this:> > 20 DRAW "BM=A;,=A;U=B;R=B;D=B;L=B;"> > The vairable name has to begin with and equal and end with a semicolon.> > Neat.> > -- > tim lindner> tlindner at macmess.org Bright> > 
_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008


More information about the Coco mailing list