Is-a-stack test

J. Landman Gay jacque at hyperactivesw.com
Sun Sep 28 11:20:00 EDT 2003


On 9/28/03 12:28 AM, FlexibleLearning at aol.com wrote:

> The test is needed to establish if a file is mc/rr as opposed to other file 
> formats before opening it. Looks like the detailedFiles is the answer.

I see. I misunderstood your question. Testing for "there is a stack" is 
a good approach, as suggested. If that takes up too much memory, you 
could also open the file as a text file, read for 30 or 50 characters, 
and see if the word "Metacard" is in there. The second line of every Rev 
and MC stack includes that string. Of course, this may change in the future.

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




More information about the metacard mailing list