Subject: | |
From: | |
Reply To: | Vance, Jeff H (Cupertino) |
Date: | Tue, 16 Aug 2005 11:38:51 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Yup, that makes sense!
Jeff
> Vance, Jeff H (Cupertino) wrote:
> > If you need to use hphour + hpminute then you still should
> (IMO) deal
> > with rolled over minutes. E.g.:
> > setvar hh hphour
> > setvar mm hpminute
> > if hh <> hphour then
> > setvar hh hphour
> > endif
> > setvar newtime rht('0!hh',2)+":"+rht('0!mm',2)
>
> It seems to me that you also need to get the minutes again.
> First time you get 08, 59, then compare to 09, then set to
> 09 -- need to get minute of 00 now.
>
> setvar hh hphour
> setvar mm hpminute
> if hh <> hphour then
> setvar hh hphour
> setvar mm hpminute
> endif
> setvar newtime rht('0!hh',2)+":"+rht('0!mm',2)
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|