Hi,

Found it!

I was debugging with an external using XCode. In XCode, when you run the application in debug mode, it loads the application you specify (which in this case is RunRev 2.8.0.370) and specify the Stack you want to debug. However during this process I also double-clicked on the Stack File to open it, this version caused a different version of RunRev to load. From then on, the whole thing went weird!

In this case restarting would *usually* cure the problem (and it did for a while), but then I must have double-clicked the Stack again!

I can't seem to be able to specify that all .rev files are loaded by just one version of RunRev, I can only set it on a Per File basis which I have now done. But the problem is that if I restore a file from a backup, it takes on the old version again.

Jeez, what a problem!

Thanks for all your suggestions.
All the Best
Dave

On 19 Apr 2007, at 17:01, Devin Asay wrote:


On Apr 19, 2007, at 9:23 AM, Dave wrote:

Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it started giving me this execution error:

Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!

Did the data in the field somehow get messed up in a way that's not visually obvious--e.g., data on subsequent lines that are scrolled out of sight? What happens if you check the validity of myFrameCount before the repeat loop:

        if myFrameCount is a number then...

I've been bitten by things like this before.

HTH

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to