How I can get system-function executed program return value if it is negative? Is it possible at all? I noticed that only values 0..255 are possible to get, negative was always 255. So it looks like system-function handles values only as unsigned int. What is other simple way as system-function to execute external program and get correct return value (-n..+n)? I use script on W2k cmdprompt. Thanks.
In reply to How to get system -function negative return value? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |