<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>I don't know if PowerHouse can do this<BR>
but it would be greater if you could send <BR>
a command as an argument to getsystemval.<BR>
&nbsp;<BR>
E.G.<BR>
&nbsp;<BR>
Define &nbsp;RESULT_STR char * 80 = &amp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getsystemval ( "`wc -l myfile`" )<BR>
&nbsp;<BR>
Or<BR>
&nbsp;<BR>
&nbsp;<BR>
Define &nbsp;RESULT_STR char * 80 = &amp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getsystemval ( "`myscript myfile`" )<BR>
&nbsp;<BR>
where myscript is a shell script that returns <BR>
a string to stdout.<BR>
&nbsp;<BR>
Regards,<BR>
Peter Bateman<BR><BR><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>