in reply to Re: How to get system -function negative return value?
in thread How to get system -function negative return value?
Code:
returns 0-65280, negative value is always 65280my $return_value = system("test.exe something");
and when divide it
it returns naturally 0-255$return_value = $return_value/256;
Maybe I should use some other function. Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get system -function negative return value?
by Abigail-II (Bishop) on May 27, 2004 at 09:42 UTC |