Frequent corruption of Revolution program?

Richard Gaskin ambassador at fourthworld.com
Mon Jul 19 19:48:51 EDT 2004


Sarah Reichelt wrote:

> On 19 Jul 2004, at 12:06 pm, Stephen Paul McNutt wrote:
>>   My program is nonfunctional.  Reinstalling Revolution fixes the 
>> problem.  It can happen several times a day.  Does anyone know 
>> anything about this?
> 
> It's hard to tell without any more info, but it sounds like one of your 
> scripts might deleting one of the Rev components. I did this once 
> accidently using the delete command when setting the default folder had 
> failed (the folder didn't exist) so instead of deleting my temporary 
> files, I deleted parts of the Revolution folder instead.
> 
> The only corruption of the program I have heard of is when revolution 
> fails to complete it's startup, getting stuck at the splash screen where 
> it says "Loading plugins". This is fixed by replacing the "Saves" folder 
> inside the "Components" folder, but it sounds like you are getting 
> beyond this stage.
> 
> I would check your scripts for any "delete" commands and check very 
> carefully to make sure what you are deleting.

Good idea, Sarah.

There have been cases where unexpected behavior has occured when 
referring to stacks by number rather than by name.  While numbers refer 
to specific windows (the equivalent of Rev "stacks") in a SuperCard 
file, in Revolution it's used very differently.  I don't know if Stephen 
comes from a SuperCard background, but if so it might help explain 
what's going on.

For more information on the relationship between numeric stack 
references and the unexpected results that might superficially appear to 
be corruption, see:
<http://lists.runrev.com/pipermail/use-revolution/2004-January/029635.html>

Of course the best diagnosis can only come from seeing the script. 
Stephen, if the problem persists could I trouble you to post the portion 
of the code that's doing the deleting?

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________
  Rev tools and more:  http://www.fourthworld.com/rev


More information about the use-livecode mailing list