Re: Converting HyperCard Stacks

Scott Raney ((no email))
Wed, 11 May 94 9:30:14 MDT

>
> > Converting HyperCard Stacks
> >I opened a HyperCard 2.1 stack in MetaCard. Things seem to be somewhat intact
> >within MetaCard, but the XFCNs and XCMDs from HyperCard apparently weren't
> >carried over during the conversion. Are my HyperCard XFCNs and XCMDs of any
> >value when converting to MetaCard?
> >
> unfortunately not. On the other hand you can hack just about anything using
> shell scripts and/or the C interface.

If you've got the source code to your XCMDs, you may be able to just
recompile them. The MetaCard external API is compatible with
HyperCard 1.2.

Unfortunately most XCMDs and XFCNs seem to do Mac specific stuff such
as calling the Mac Toolbox routines. These of course won't be
portable.

> BTW, if MetaCard Corp are listening - does 'put shell()' work with perl scripts?

The shell() function just calls a UNIX shell (/bin/sh by default, but
you can change this with the shellCommand property) and passes its
arguments to this shell. You can do anything you could do
interactively from the shell prompt. So, yes, your perl scripts
should work if they work outside of MetaCard.
Scott

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************