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 *
|