[comp.sys.mac.hypercard] Sort by Expr in HC 1.2

winkler@Apple.COM (Dan Winkler) (06/14/88)

All versions of HyperCard allow you to sort a stack by any arbitrary
expression, including a user function.  The change in 1.2 is that if
the expression you supply turns out to be invalid for EVERY card in
the stack then HyperCard will tell you so.

 sort by field 400   	--  complains if no card has 400 fields
 sort by myFunc()	--  complains if myFunc was not found for any card

Previous versions of HyperCard do not complain in this case.  They
silently leave the stack in the same order, possibly leading you
to believe that the stack had been sorted when in fact you probably
mistyped your sort expression. 

Dan.