[comp.sys.mac.hypercard] HyperCard 2.0 Script Incompatabilities with 1.2.x

tom@wcc.oz (Tom Evans) (11/18/90)

I've just had a working HC 1.2.x stack fail under HC 2.0. 

1. HC 1.2.x considers a statement of the form:

	if a = not b

to be OK - equivalent to "if a is not b". HC 2.0 considers it to be an
error and complains.

2. HC 1.2.x doesn't seem to mind if I have:

	function a
	  ...
	  return 0
	  end b

Yes it is a scripting bug - the "end b" should be an "end a", but HC
1.2.x lets it pass and HC 2.0 doesn't.

I wrote a button script that searches through all the scripts in a
stack searching for a pattern (above "bugs") and allows the scripts
to be edited - much better than waiting for the piece of code that
only gets executed on Feb 29 to show up as buggy :-). I won't post it
here - it's a bit long and is easy to write anyway.

========================
Tom Evans  tom@wcc.oz.au  
Webster Computer Corp P/L, 1270 Ferntree Gully Rd Scoresby, Melbourne 3179
Victoria, Australia 61-3-764-1100  FAX ...764-1179