[Coco] bitmasks with coco basic
tim lindner
tlindner at macmess.org
Tue May 8 23:28:34 EDT 2007
Frank Pittel <fwp at deepthought.com> wrote:
> All,
>
> I'm working on a program that requires the use of bit masks to set or
> clear bits of a variable. I know that's an easy task in assembly but
> I'd rather stick to doing this in basic. The solution I've come up with
> is large and slow. Does anyone have a good way of doing this?
>
> Frank
You mean smaller and faster than:
A = 230 AND 64
?
--
tim lindner
tlindner at macmess.org Bright
More information about the Coco
mailing list