Subject: | |
From: | |
Reply To: | Miller, Keven |
Date: | Tue, 16 Aug 2005 12:29:51 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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)
Keven (learning from sources of HPMM - MCHRONOS)
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|