[futurebasic] Re: [FB] Funny Updating

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2001 : Group Archive : Group : All Groups

From: Ashley Butterworth <macbse@...>
Date: Thu, 31 May 2001 16:06:26 +1000 (EST)
--- Robert Covington <artlythere@...>
wrote: > 
> 
> I fear a show of ignorance, but if the times are
> different for each image,
> should you not be comparing some variable for that
> particular image,
> instead of the 30000?
> 
> >diff& = currTime& - gLastChange&
> >long if diff& >= 30000
> 
> Instead use:
> >long if diff& >= gThisImageDisplayTime&
> 
> ?
> 
> Robert Covington
> 

Robert,
  It is supposed to be the same time for each image
except it is in fact, when I run it, different. This
is the problem.

  In fact when I run it, it doesn't matter what value
I put in the if, it stays open the same amount of
time, that is to say every time I run it , if it's set
to say 10000 the images just flash up or if its set to
30000 the images just flash up in the same time.

  What it does is show a series of 4 images (PICT
resources id 5002 to 5005) in the splash window then
closes it or closes it if the window is clicked.

  If you need it I'll post the whole file to show all
the code but it only seems to be the previously posted
code that is messing up.

  Thanks,



=====
Ashley ~)~

===================================================================
Ashley Butterworth
Email: macbse@...
===================================================================

_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!