On 29/12/09 18:10, Dr. Diesel wrote: > On Tue, Dec 29, 2009 at 2:18 AM, charlesg > <char...@pearceshardware.co.uk>wrote: > > >> Hi >> >> Project, Options, "Module symbols are public by default"=yes ? >> >> rgds >> >> Thank you, but I must still be confused. Please see the following example: >> > I have the following in my startup class/form: > > Public IOvariables1 As New IOvariables > > Then, in my IOvariables.class > > Public DriveWheelLeft As Integer = 1 > Public DriveWheelRight As Integer = 2 > Public HeadLR As Integer = 90 > Public HeadUD As Integer = 90 > Public IRLeft As Integer = 0 > > If I try and use IOvariables1 in a separate module, I receive an unknown > identifier error? > > What am I doing wrong? > > Many thanks > > > > does Print IOvariables1.HeadLR not print 90?
Regards, Werner ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user