[Coco] Obscure DRAW feature from ECB Unravelled

Darren A. darccml at hotmail.com
Sat Jan 5 13:41:13 EST 2008


That syntax also works with the PLAY command.

Darren

-------


> 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

_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008


More information about the Coco mailing list