Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have used the debugger to confirm that the parameters are correct at this point in the perl script, and I have confirmed that the REXX script I'm calling is returning the correct value.$datepos = system ("rexx", "fmtscan.rex", "$fn", "$datefieldname", "P" +)/256;
The highest value the program will properly return is 255, which leads me to think that only two bytes (since it get divided by 256) is used for the return value, which reverts to zero once 256 is reached.
Also 303-47 = 256
Assuming this is correct, I suppose I have two distinct questions:
Although I am running NT4.. (grumble,complain)
Any thoughts?
==
PiEquals3, whose web-based (ackthpt!) email service went down and left him unable to access his cryptic login password.. :(
==
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Annoying system() limitations
by runrig (Abbot) on Jan 17, 2001 at 23:24 UTC | |
by Anonymous Monk on Jan 18, 2001 at 00:50 UTC | |
by ichimunki (Priest) on Jan 18, 2001 at 01:11 UTC |