quick question about splash stacks
m.schonewille at economy-x-talk.com
Tue Jul 29 03:37:04 EDT 2008
This doesn't work. Opening a corrupted stack doesn't throw an error.
You need to check the result.
Economy-x-Talk Consulting and Software Engineering
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 29 jul 2008, at 06:11, Andre Garzia wrote:
> as Richard said, stack corruption is rare but if you truly want to
> check this kind of stuff, why not use a simple try/catch block?
> go stack "I am as corrupt as the brazilian goverment"
> catch n
> answer error "the stack is dizzy"
> end try
> this will make sure the stack is actually a stack but it can't verify
> if the stack content is right, you might want to do further checks. If
> your stack never changes, you can compute a checksum from the
> stackfile and store it somewhere for comparing.
More information about the use-livecode