In response to John Penny, and others, for 'a snippet of code, please, like
what are yuh trying to do?'.
The snippet of code:
:fcopy from=ed014s.prog;to=;hex;subset=0,1 > temp1
:print temp1;start=5;end=5 > temp2
:input _line < temp2
:echo
![str(_line,39,2)].![str(_line,49,2)]![str(_line,12,2)]![str(_line,24,2)]
Executing the above 'snippet' generated the following: 08.134437
The output needs to be in the following format: 8.19D7
What I am trying to do:
The file, ed014s.prog, is one of many compiled PowerHouse Quick Screens that
we have. I need to check which version of PowerHouse, we currently use two,
was used to compile them.
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005
Robert Mills wrote:
> Greetings fellow list members,
>
> Environment: MPE/iX 6.5 + MPEX
>
> Have a script (some people call it a command file) that extracts data
> from a file and displays it on the screen. Problem is that there are
> hex values that need to be converted to their decimal equivalent
> before being displayed.
>
> Any suggestions (clean one's only please) would be appreciated.
>
> regards,
>
> Robert W.Mills
> Systems Development Manager
> Windsong Services
> (01689) 870622 x3005
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|