Tom Benedict@sumax.seattleu.edu (smelly@polari.UUCP) (06/06/91)
Yer right, There ain't no case statements in HyperTalk. You can get close by doing a modification of your example. It works the same, but looks a little prettier. Instead of nesting a bunch of if..then..else statements you can use the ..else if.. form. Example: on keyDown key if key = a then blah else if key = b then blah else if key = c then blah end keyDown What this construct does is avoid all the ..end ifs ( you'll need a max of 1 'end if'). Hope this helps