Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!cs.utexas.edu!ut-emx!dnewman From: dnewman@ut-emx.UUCP (Dave Newman) Newsgroups: comp.sys.mac.hypercard Subject: 2 HyperTalk Questions Keywords: XCMD, Card Stack Message-ID: <17231@ut-emx.UUCP> Date: 17 Aug 89 14:47:45 GMT Distribution: usa Organization: The University of Texas at Austin, Austin, Texas Lines: 20 Two Questions: 1: Can anXCMD be written that does not require the foo(x,y,z) syntax? I'd like to write a sort routine that would usurp the existing sort routine, but which would be as seamlessly integrated with hypertalk as possible. If this is possible, is there anything special that I have to do to get the arguments? I've tried to do this, and it seems to work only for one-argument XCMDs. I may be missing something obvious here, any advice is apprecciated. 2: There was a question on the net a while ago about finding the status of the card stack. (i.e. the one that is altered by way of the push and pop commands) But, I didn't see any answer. Is there a way to find out how deep the stack is? I'd like to be able to pop all the cards off the stack or test to see what cards are on the stack without poping them all and re-pushing them. Thanks, >>Dave