Greetings, Is there any way to pass the ERROR class as a parameter in a subroutine ? It always defaults to the Boolean type when used as below
Global_Module Public Sub ManageError(MyError as ERROR) Message.Error(MyError.Text & " Occured at " MyError.Class) //Other error management handling/reporting End Calling from a form or class Global_Module.ManageError(ERROR) Gambas Error text "Wanted Error, got Boolean instead" Cordialemont, Ian Roper Warnbro Western Australia ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user