Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Get return output value from another program.

26 views
Skip to first unread message

jsalv...@gmail.com

unread,
Mar 27, 2013, 9:37:04 PM3/27/13
to
Hi,

We're running a PowerBuilder 9 program that calls another program written in a different language, for which we don't have access to the code. The other program is being run using the run() function, with a parameter. It returns an integer; 1 means 'yes', 2 means 'no'. Any idea how I can read/store the output? The return value (1 or -1) from the run() function only tells me if the other program ran or not, but I need to use the output (1 or 2) to determine what happens next in the PowerBuilder program. It seems this should be something simple to implement in PB, but is not.

Thank you for any help or suggestions,
Justin B.
0 new messages