[futurebasic] Re: [FB] [FB^3] FB^3 translation pls

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Brian Stevens<brilor@...>
Date: Mon, 27 Sep 1999 19:53:07 -0700
>Does anyone know what the FB^3 equiv of:
>
>CALL FILLRECT(t, #REGISTER(A5) + _white)
>
>The REGISTER(A5) part is what I want to translate into FB^3
>
>tia

This should work fine for 68K machines but it will fail on PPC because
system globals aren't architected this way.  The second parm to FILLRECT is
a pattern.  FB II has an example that shows how to use a pattern without
using REGISTER to get a pointer to the system globals. It can be found in
FB Examples/Graphic Resources/Pattern.bas.  If you aren't tied to using the
TB call the FB BOX FILL verb might work too.

Brian