Hello List,

I have no experience with the classes in gambas and just a little in VB.
Based on the bult-in example I could get working it when defining the
properties as public variable but I don't know how to encapsulate (how to
use the get and the set if I have private properties.

An other question is if it's possible to overload functions. I tried to make
2 constructors by making 2 _new functions (in one to set the properties by
giving the list of the properties, in the second to give a ID to of the
record where I store them in a database to get the data from). I got an
error message.

A very simple example with one parameter and one function would be
appretiated!

Thanks,
Robi
-- 
View this message in context: 
http://old.nabble.com/class-tp28114690p28114690.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to