Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!hao!oddjob!uwvax!husc6!hscfvax!beamlab From: beamlab@hscfvax.harvard.edu (D.McCallie) Newsgroups: comp.sys.mac.hypercard Subject: XCMD help needed Keywords: XCMD XFCN states global data Message-ID: <515@hscfvax.harvard.edu> Date: 18 Feb 88 19:52:39 GMT Reply-To: beamlab@hscfvax.UUCP (850103@D.McCallie) Organization: Health Sciences Computing Facility, Harvard University Lines: 16 Posted: Thu Feb 18 14:52:39 1988 References: I need some hyperAdvice: Is it possible to write an XCMD that remembers (internally) data between invocations ? In other words, can I have states associated with an XCMD so that the first call is treated differently from subsequent calls ? A similer question: is it possible to have external global data that is shared between separate XCMDs, or must I send such info back to HC itself (and thus require the stack author to create stack "global" variables. My preferred programming environment is LSC, but solutions in any language would be appreciated. Thanks. David McCallie Children's Hospital ...harvard!hscfvax!{dpm, beamlab} dpm@hscfvax.harvard.edu