home .. forth .. colorforth mail list archive ..

Re: [colorforth] new color


On Sat, 4 Jun 2005, Ray St. Marie wrote:

On 6/1/05, maslicke@xxxxxxxxxxx <maslicke@xxxxxxxxxxx> wrote:

: string pop ;
: array pop 2/ 2/ ; <-----|
                                       |
Ray here: that array def  |  should have been :

: array string 2/ 2/ ;


This second 'array' will return the address of '2/ 2/ ;' so this is not correct. The first is correct since you want the address directly after the use of 'array', and you want to divide by 4 to yeild a cell address.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com