Hi
I too suggested a way for your previous problem.
What you are doing is right here, but some corrections are there.
You cannot use 'var' to declare variables inside constructors
rather you could use them only before constructor, and intialize
them inside constructor, look out the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then SMurali Krishna declared
Hi
I too suggested a way for your previous problem
What you are doing is right here, but some corrections are there
You cannot use 'var' to declare variables inside constructors
rather you could
Nick Wilson wrote:
Is there a better way? It just seems like overkill to include 6-700
lines of methods /twice/
Use inheritance Define a base class with all of the methods in it
Then define the two other classes to extend this base class, meaning
they will have all of the methods you have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Simon Willison declared
Nick Wilson wrote:
Is there a better way? It just seems like overkill to include 6-700
lines of methods /twice/
Use inheritance Define a base class with all of the methods in it
Then define the two other
On Thu, 28 Feb 2002, Nick Wilson wrote:
It is only the *properties* that are different in each language class
not the methods so I'm including all the same methods twice! That
doesn't seem terribly efficient
There is no need to rewrite the methods See:
5 matches
Mail list logo