Do the programs use a CLEAR statement?
Is Error.Msg in a COMMON statement?

Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Monday, June 06, 2005 3:18 PM
To: '[email protected]'
Subject: [U2] External SubRoutine Problems

Using UniVerse, UniBasic, I am trying to...

  call *SUB.BIN.TO.BIN.R0 (Part.Nbr, Qty.Pieces, Source.Bin, Target.Bin,
Error.Msg )

                          (give,     give,       give,       give,
get
) 

  begin case
        case Error.Msg # ''  ;  gosub Error.Handler  
  end   case


This works except that, when there is an error, the calling program just
gets back a '0', not a meaningful Error.Msg string.

Suggestions would be appreciated.

--Bill
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to