|We don't bite newbies here... much|
Re: Modify the Objectby Athanasius (Chancellor)
|on Oct 02, 2012 at 13:02 UTC||Need Help??|
Can some one tell how to change the values of object?
The usual way is to provide an accessor method in the First package:
Then you can call this method in the main program as follows:
which will output:
By the way, in the definition of sub teller there should not be any parentheses after the method name. The parentheses create a prototype, saying that the sub takes no arguments — which is unnecessary, and, in this case, incorrect.
Hope that helps,
Athanasius <°(((>< contra mundum