Re: return value from RUN-command (4GL)
Posted in 1997
Dieter Winkler wrote: > > I've got a problem with return values from the unix shell (Siemens > Nixdorf > Unix - German product). > > If I call a shell script with the RUN-command in 4gl i never got the > right > return value. Can anyone help me to solve this problem? Just divide it by 256. You can only return a value from 0 to 255. Hope that helps, -- Mark. +----------------------------------------------------------+-----------+ |Mark D. Stock - Informix SA http://www.informix.com |//////// /| |mailto:mdstock@informix.com FAQ http://www.iiug.org |///// / //| | +-----------------------------------+//// / ///| | Tel: +27 11 807 0313 |If it's slow, the users complain. |/// / ////| | Fax: +27 11 807 2594 |If it's fast, the users keep quiet.|// / /////| |Cell: +27 83 250 2325 |Therefore, "No news: travels fast"!|/ ////////| +----------------------+-----------------------------------+-----------+