Is-a-stack test

J. Landman Gay jacque at hyperactivesw.com
Sat Sep 27 12:51:00 EDT 2003


On 9/27/03 7:13 AM, FlexibleLearning at aol.com wrote:

> Does anyone have a one-line test for whether a file is a mc or rr stack on a 
> Mac?
> 
...
> The only things I can think of are
> [1] a 'try/go stack' and on failure assume it isn't. Not very elegant!
> [2] if "#!/bin/sh" is in url("binfile:"&tFilePath). Again, not very elegant 
> and a waste of RAM.

Usually you don't have to test at all. The file formats of Rev and MC 
stacks are identical. You can open any stack with either program. 
Everything is completely interchangeable. Is there a different reason 
you need to know which app created the stack?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the metacard mailing list