[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getCurrentTime() broken ?
From: |
Rick Riolo |
Subject: |
Re: getCurrentTime() broken ? |
Date: |
Fri, 28 Mar 1997 07:14:20 -0500 (EST) |
I don't know (or have forgotten about) a message
getCurrentTime. To what object is it sent?
Does it do what I (and Sven, I gather) want with respect
to pre-activity time?
Anyway, I guess I still like a macro approach, so that
I don't have to worry about which object to send the message to,
making sure that object is accessible from various
other objects/files, etc.
Of course I could write my own macro, perhaps.
Still, it seems like such a basic, oft-used piece of info,
it would be nice to have simple access to it "built-in".
(I even wish I didn't have to include activity.h to get it.)
- r
ps But I'll admit I've not even thought about what happens
with complex models with schedules all over the place.
Rick Riolo address@hidden
Program for Study of Complex Systems (PSCS)
1061 Randall Lab University of Michigan
Ann Arbor MI 48109-1120
http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
On Thu, 27 Mar 1997, glen e. p. ropella wrote:
> Date: Thu, 27 Mar 1997 22:34:11 -0700
> From: glen e. p. ropella <address@hidden>
> To: address@hidden
> Subject: Re: getCurrentTime() broken ?
>
> Rick Riolo writes:
> >
> > I ran into this, too, and I think it should
> > be considered broken. Or if you want getCurrentTime()
> > to act the way it does now, then there should be another macro
> > that will return 0 before things have started and
> > return what getCurrentTime() does afterwards.
>
> Have you tried the message "getCurrentTime?" Is there a
> particular reason you want to use the macro instead of the
> normal way?
>
> glen
>