Re: 4GL RUN command question
Posted in 1998
On 5 Oct 98, at 15:17, Candy McCall wrote: > Within a 4GL program, I want to run a shell > script which will calculate an integer value. > I then want to read that integer value into > the 4GL program. Is it possible to > read that value using the "RUN shell_script RETURNING > integer_variable" command? Forgive me, this is all very rusty: I seem to recall that you could do something along these lines, provided the number you want to return is in the range 0..255. You would exit the shell script returning the value, but then you have to divide integer_variable by 256 to strip off some or other leading stuff. Perhaps someone who is awake give a better answer... :-) -- Ciao, Billy /Group Managing Director, The West Solutions Group: http://www.west.co.za \\ Drivel @ http://www.west.co.za/tasteless/ / \\ "Granted, Mr Wheeler's ideas are stupid and unreasonable, but he does own the company and I / think we should go along with him..." \\________________________________________________________________________________________________