[Gambas-user] alxay problem with class and modules

Coquet Olivier olivier at ...289...
Mon Feb 16 08:29:34 CET 2004


here is my code:

' Gambas class file
' ==================
PUBLIC SUB test()
  
  PRINT "test"
  
  
END

' Gambas module file
' ==================

PUBLIC modu AS pop

PUBLIC SUB Main()
  modu = NEW pop
  modu.test

END

when i run this, this say me than pop is a static class ???????

sorry but i don't undestant why, somebody can clearly explain me ???

regards
olivier





More information about the User mailing list