[futurebasic] Re: [FB] FB2: PRINT Help

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

From: Rick Brown <rbrown@...>
Date: Wed, 03 Nov 1999 20:25:13 -0600

Brian Jones wrote:

> I'm using FBII on a Mac SE for a little project that requires me to make
> extensive use of the PRINT command; however, I can't get it to work.
>
> This code will not work:
>
> DIM rect.8
>
> WINDOW #1,,(0,0)-(100,100)
> CALL SETRECT(rect,0,0,100,100)
> COLOR _zBlack
> CALL PAINTRECT(rect)
>
> COLOR _zWhite
> PRINT "This won't print."
>
> While this should display a black window with the line "This won't
> print", it doesn't.  It creates the window, paints it black, etc, but
> never prints the string.  I have absolutely no idea where the problem
> could be.  I'm running 7.0.1 on this SE.  I'm almost embarassed to ask
> this silly of a question.  Can anyone help?

It works on my machine (G3, OS 8.0).  I wonder if the old COLOR WINDOW
statement is applicable here?  You might try specifying "COLOR WINDOW _true"
or "COLOR WINDOW _false" and see if it makes a difference.

- Rick