Path: utzoo!attcan!utgpu!watmath!att!dptg!rutgers!usc!ucsd!ames!amdahl!pyramid!ncc!alberta!idacom!andrew
From: andrew@idacom.UUCP (Andrew Scott)
Newsgroups: comp.lang.forth
Subject: Re: CELLSIZE
Message-ID: <714@idacom.UUCP>
Date: 8 Aug 89 20:05:02 GMT
References: <664@noe.UUCP>
Organization: IDACOM Electronics Ltd., Edmonton, Alta.
Lines: 22

In article <664@noe.UUCP>, marc@noe.UUCP (Marc de Groot) writes:
> CELLSIZE	( --- n )
> Leaves the number of 8-bit bytes per cell.  Returns 2 for a 16-bit
> Forth and 4 for a 32-bit Forth.
> 
> How can I get this idea to the ANSI committee?

They already know about it.  The latest proposed word set I've seen has the
following as part of the required word set:

CELLS   ( n1 -- n2 )
   Return the size, in address units, of n1 cells.

CELL+   ( a1 -- a2 )
   Add the size of a cell, specified in address units, to a1 giving a2.

With this, CELLSIZE becomes 1 CELLS.

I assume that an "address unit" is a byte.
-- 
Andrew Scott			andrew@idacom
			- or -	{att, watmath, ubc-cs}!alberta!idacom!andrew