Paul asks:
>
> I thought that I had read somewhere that a native mode version of the
> 'calendar' intrinsic, HPCALENDAR, that returned a 32 bit integer had been
> made available by HP. Is it true or just wishful thinking on my part?.
:cseq hpcalendar
CSEQ [2.2] - LPS Toolbox [A.02b] (c) 1995 Lund Performance Solutions
Function HPCALENDAR := int32 : int32 {R28}
{Returns 32-bit CALENDAR format: }
{upper 23 bits = #years since 1970 }
{bottom 9 bits = day-of-year }
If you run CSEQ on an MPE/iX release prior to 5.5 PP4, you get:
:cseq hpcalendar
CSEQ [2.2] - LPS Toolbox [A.02b] (c) 1995 Lund Performance Solutions
HPCALENDAR is not in intrinsic file, but is in CSEQ.DATA:
HPCALENDAR { In MPE/iX 5.5 PowerPatch 4 }
:= int32
! Returns 32-bit CALENDAR format:
! upper 23 bits = #years since 1970
! bottom 9 bits = day-of-year
--
Stan Sieler [log in to unmask]http://www.allegro.com/sieler.html