Path: utzoo!mnetor!uunet!husc6!mailrus!umix!umich!mibte!fmsrl7!eecae!super.upenn.edu!dsl.cis.upenn.edu!neil From: neil@dsl.cis.upenn.edu (Neil Radisch) Newsgroups: comp.sys.mac.programmer Subject: Fkeys Message-ID: <3661@super.upenn.edu> Date: 12 Mar 88 21:43:13 GMT Sender: news@super.upenn.edu Reply-To: neil@dsl.cis.upenn.edu.UUCP (Neil Radisch) Distribution: comp.sys.mac.programmer Organization: University of Pennsylvania Lines: 30 Keywords: Fkeys Is there any special conditions forced upon an fkey routine that effects the use of variables? example The following works fine Procedure fkey; begin moveto(100,100); drawstring('hello'); end; The following does nothing Procedure fkey; var stuff:str255; begin stuff:='hello'; moveto(100,100); drawstring(stuff); end; Any ideas....Oh by the way I'm using Turbo Pascal |----------------------------------------------------------------------------| | "Better to remain quiet and be thought a fool than to speak out and remove | | all doubt" --- Abraham Lincoln | | | | neil@dsl.cis.upenn.edu.UUCP | |----------------------------------------------------------------------------|