Re: HyperCard Porting

2003-06-05 Thread Robert Brenstein
Thanks for all your answers!

The crashing occurs at opening...
Some open just fine, while some stacks crash just when opening them.
AddColor has not presented a problem other than an error.

I believe that scripts in AppleScripts language could cause the 
problem but must be verified.
Calls to XFCNs or XCMDs are simply or usually error prompted.

Script differences from HC only report errors which are easy to fix 
but do not crash MC.
I'll try to compact stacks before opening them but I doubt it will 
work since MC probably needs to open them before compacting.

Otherwise, I'll have to find more room in my office for my old mac!

thanks again!

I am afraid you may have to dig out your Mac after all or ask someone 
else to compact them for you -- the compacting must be done by 
Hypercard (it is a process by which HyperCard removes obsolete data). 
By the time MC has a chance to do compacting, it has already 
converted the stack. I can concur with experience of others that 
compacting drastically reduced conversion problems.

Robert
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread eric . allen . engle
you can put an autocompact handler in your hypercard
stacks... 

on openstack
 
end openstack

on closestack
 
end closestack

You can even put handlers like this into your home
stack , i.e. with clever scripting you should not need
to put these handlers in each and every stack - though
I would recommend doing so!

I never need to do this so I do not know what the
command is -  is just pseudo code
but you can definitely tell a hypercard stack to
compact itself. 

My Home Page with free online legal information
Page perso avec liens juridiques

http://www.lexnet.bravepages.com/ind.htm
_
FindLaw - Free Case Law, Jobs, Library, Community
http://www.FindLaw.com
Get your FREE @JUSTICE.COM email!
http://mail.Justice.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread xbury . cs

Thanks for all your answers!

The crashing occurs at opening...
Some open just fine, while some stacks crash just when opening them. 

AddColor has not presented a problem other than an error.

I believe that scripts in AppleScripts language could cause the problem but must be verified.
Calls to XFCNs or XCMDs are simply or usually error prompted.

Script differences from HC only report errors which are easy to fix but do not crash MC.
I'll try to compact stacks before opening them but I doubt it will work since MC probably needs to open them before compacting.

Otherwise, I'll have to find more room in my office for my old mac!

thanks again!

-=-
Xavier Bury
TNS NT LAN Server
ext 6465






Shari <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
04/06/03 22:58
Please respond to metacard

        
        To:        [EMAIL PROTECTED]
        cc:        ^
        Subject:        Re: HyperCard Porting



Don't forget that Hypercard's addColor is an XCMD, and all addColor 
calls should be commented out before importing.  So is Hypercard's 
"flash" and "picture".

Shari C
-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER


Re: HyperCard Porting

2003-06-05 Thread Shari
Don't forget that Hypercard's addColor is an XCMD, and all addColor 
calls should be commented out before importing.  So is Hypercard's 
"flash" and "picture".

Shari C
--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread J. Landman Gay
On 6/4/03 2:04 PM, [EMAIL PROTECTED] wrote:

FWIW, I've never knowingly compacted a stack before
importing it - and never
seen a problem caused by this - but it can't hurt!


Actually the metaCard documentation explicitly says you
should (i.e. must) compact stacks before importing
them. And I have had this cause runtime errors, though
sometimes they are not as dramatic as a system crash.
I've had crashes with imported HC stacks. As soon as I compacted the 
stack in HyperCard, the MC import went fine. I think it's important.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread eric . allen . engle

> FWIW, I've never knowingly compacted a stack before
> importing it - and never
> seen a problem caused by this - but it can't hurt!
> 

Actually the metaCard documentation explicitly says you
should (i.e. must) compact stacks before importing
them. And I have had this cause runtime errors, though
sometimes they are not as dramatic as a system crash.

It's in the documentation for a reason. All those stray
code snippets can bite back in unforseen ways. 

My Home Page with free online legal information
Page perso avec liens juridiques

http://www.lexnet.bravepages.com/ind.htm
_
FindLaw - Free Case Law, Jobs, Library, Community
http://www.FindLaw.com
Get your FREE @JUSTICE.COM email!
http://mail.Justice.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread Ben Rubinstein
on 6/4/03 6:40 PM, [EMAIL PROTECTED] wrote

> ARE YOU COMPACTING YOUR STACKS BEFORE PORTING THEM?
> 
> Almost certainly the cause of errors.
> 
> otherwise: 
> 
> Check for XCMD calls.
> 
> Make sure your syntax conforms to metacard.
> Use parantheses instead of "of"
> Be careful with the use of "the"
> Make sure ask uses with... or... or...
> 
> My hypercard ports never crash the PC or MC
> IF i first compact them.

FWIW, I've never knowingly compacted a stack before importing it - and never
seen a problem caused by this - but it can't hurt!

The various syntax issues, which can take a little while to track down, are
a pain but have not in my experience led to crashing.

All the crashes I've had have been to do with XCMDs.  MetaCard supports the
original HyperCard XCMD protocol; many many XCMDs were built to the later
("HyperCard 2") era protocal, and assume the use of callbacks that aren't
supported by MetaCard.  It is possible in principle for an XCMD to be
written in a way that tests for the existence of the callbacks it attempts
to use - very few, I suspect, were written in such a way.  Certainly none of
the ones I wrote!

I would look for XCMDs as the cause of the crash before I'd look for
anything else.  You might for example make a copy of the stack with all
resources stripped, and try running that; my expectation if the XCMD was the
problem was that you'd get an error message about an undefined function, at
approximately the same point (or possibly before) as you previously crashed.

If you do find the problem is a crashing XCMD, you have two choices: recode
the functionality in MetaTalk, or fix the problem with the XCMD.  If at all
possible, even if you have access to the source code of the XCMD, I
recommend you do the former.  You gain portability, flexibility, and
frequently speed (especially if the XCMD is a 68K one).

Good luck,
 
  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread eric . allen . engle
ARE YOU COMPACTING YOUR STACKS BEFORE PORTING THEM?

Almost certainly the cause of errors.

otherwise: 

Check for XCMD calls.

Make sure your syntax conforms to metacard. 
Use parantheses instead of "of"
Be careful with the use of "the"
Make sure ask uses with... or... or...

My hypercard ports never crash the PC or MC 
IF i first compact them.

My Home Page with free online legal information
Page perso avec liens juridiques

http://www.lexnet.bravepages.com/ind.htm
_
FindLaw - Free Case Law, Jobs, Library, Community
http://www.FindLaw.com
Get your FREE @JUSTICE.COM email!
http://mail.Justice.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: HyperCard Porting

2003-06-05 Thread Richard Gaskin
MisterX wrote:

> Im porting a lot of stacks from HC on MC for PC.
> 
> Unfortunately 30% are crashing MC which is quite hard to swallow.
> 
> Does anyone have any tips?

Not until you tell us what's happening at the time it crashes.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


HyperCard Porting

2003-06-05 Thread MisterX
Hi everyone,

Im porting a lot of stacks from HC on MC for PC.

Unfortunately 30% are crashing MC which is quite hard to swallow.

Does anyone have any tips? 

I really dont want to dig out my old mac from the basement as I have
no more room in my office!!!

Cheers for any help
Xavier
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard