HP3000-L Archives

August 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Tue, 16 Aug 2005 11:38:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
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 *

ATOM RSS1 RSS2