Re: [Gambas-user] Having an overidden class constructor

2012-11-22 Thread laurent bernabe
t; To: mailing list for gambas users > Reply-To: mailing list for gambas users > > Subject: [Gambas-user] Having an overidden class constructor > > Hello, > > I am coding a Vector3f class (representing a Mathematical vector), and I > would like that instances of this class can be

Re: [Gambas-user] Having an overidden class constructor

2012-11-22 Thread Sebi
-user] Having an overidden class constructor Hello, I am coding a Vector3f class (representing a Mathematical vector), and I would like that instances of this class can be made from two ways : - either by calling New Vector3f() for a vector located at the origin (0,0,0) - or by supplying

[Gambas-user] Having an overidden class constructor

2012-11-22 Thread laurent bernabe
Hello, I am coding a Vector3f class (representing a Mathematical vector), and I would like that instances of this class can be made from two ways : - either by calling New Vector3f() for a vector located at the origin (0,0,0) - or by supplying 3 arguments, such as with New Vector3f(1,2,-