On Thu, 15 Jun 2017, PICCORO McKAY Lenz wrote:
> tobias..now making a library  in the ide, the class that not have the
> "create static" now not permits instanciate the class
> 
> i only put a variable static, rest of class not have create static
> 
> Export
> 
> Private dblocal As String = "file1.txt"
> Static Public status As Integer = 0
> 
> now the class "dbcontext" said cannot be instanciate, i do not have
> the CREATE PRIVATE declaration inside it!
> 

Can you give a full project? The attached project contains everything
you said about your class, and it works. It is instantiable. Is the
*error message* really that the class cannot be instantiated or is
there another error which just prevents objects from being created,
e.g. you use the "status" variable in the _new method?

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

Attachment: test-0.0.1.tar.gz
Description: Binary data

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to