[futurebasic] Spinning Pizza in OSX

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2002 : Group Archive : Group : All Groups

From: David Cottrell <David.Cottrell@...>
Date: Tue, 12 Mar 2002 11:06:19 +1000
Transfered from the beta list:

In OSX I just get the spinning Pizza when a text parsing loop is
entered (I don't even get feedback that the first 50 lines have been
processed).

How do I avoid this while keeping my application fast (it has a 20 MB 
text file to parse)

Thanks

David

RP has suggested this:

// run as Carbon in OS X
dim ev      as EventRecord
dim ignore  as boolean

print "Wait for the pizza, then click for EventAvail"

do // shows spinning pizza in OS X
until fn Button
while fn Button
wend

do
ignore = fn EventAvail( 0, ev ) // no pizza
until fn Button
while fn Button
wend