[comp.sys.mac.programmer] ToggleDate

resnick@cogsci.uiuc.edu (Pete Resnick) (09/25/90)

Now I am really confused. I am calling ToggleDate (Script Manager 2.0) from
THINK C 4.0.2. I am in the Debugger. I am on a MacSE with vers 6.0.5.

I call ToggleDate with delta = -1. I check it before I call the routine.
After executing the routine, delta = 21. I have passed this bugger by
value (no & in front of it). It can't change, can it? What the heck is
going on here?????

On a related note, it never says anywhere in Script Manager 2.0 whether
any of the routines move memory. Which ones do? I am mostly concerned
with the date routines. And also, how much overhead is ToggleDate; I mean
is it just a bunch of ADD's and MOVE's, or is calling this a billion times
going to kill performance?

Thanks,
pr
--
Pete Resnick             (...so what is a mojo, and why would one be rising?)
Graduate assistant - Philosophy Department, Gregory Hall, UIUC
System manager - Cognitive Science Group, Beckman Institute, UIUC
Internet/ARPAnet/EDUnet  : resnick@cogsci.uiuc.edu
BITNET (if no other way) : FREE0285@UIUCVMD