Path: utzoo!attcan!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!dgp.toronto.edu!tracyn From: tracyn@dgp.toronto.edu (Tracy Narine) Newsgroups: comp.sys.mac.programmer Subject: VBL tasks Think C 4.0 Message-ID: <1990Jul3.123350.9958@jarvis.csri.toronto.edu> Date: 3 Jul 90 16:33:50 GMT Distribution: na Organization: CSRI, University of Toronto Lines: 12 I am writing an init that patches the JCrsrTask routine with my own routine. I am confused about Think's SetUpA4 macro and the IM SetUpA5 macro. They both seem to give me access to the globals but I am unsure if I need to call both macros when I enter my VBL task, then call the corresponding RestoreA4,A5 when I leave the task to access my globals. What is the appropriate way of accessing global variables in a VBL task routine that is encoded in an init? tracy