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:
Denys Beauchemin <[log in to unmask]>
Reply To:
Date:
Tue, 16 Aug 2005 12:16:59 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
The original question did talk about converting a numeric to a string.  You
do want to look at the DECIMAL, OCTAL and HEX functions.

Denys

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of Shahan, Ray
Sent: Tuesday, August 16, 2005 12:02 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] Numeric to a string in MPE/ix?

Got the answer...was really easy (thanks, James R.).

If anyone is as forgetful as I on this stuff (although I rarely ever
write CMD files), here's the answer:

Setvar newtime  '!HPHOUR:!HPMINUTE'



Have a great week!
_____________________________________________
From: Shahan, Ray
Sent: Tuesday, August 16, 2005 11:42 AM
To: [log in to unmask]
Subject: Numeric to a string in MPE/ix?

Hi all,

        I thought, at one time, I had converted a numeric to a string in
MPE, but I either never did, or can't remember how.  The problem I'm
trying to solve is to pass a formatted time to another process via the
hphour and hpminute vars.  For instance hphour = 6 and hpminute = 10, so
the formatted string to pass would be 06:10.

        Any help's greatly appreciated.


TIA,

Ray Shahan
Life is not a journey to the grave with the
intention of arriving safely in a pretty and
well preserved body, but rather to skid in
broadside, thoroughly used up, totally worn out,
and loudly proclaiming:
-- WOW!!! What a Ride

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2