thank you 4all (in java it'd be this.a, sorry, i needed the this_program)
Date: Sun, 15 Aug 2010 16:46:19 +0200 From: mbaehr@email.archlab.tuwien.ac.at To: linuxlinux1@windowslive.com CC: pike-devel@lists.lysator.liu.se Subject: Re: question
On Sun, Aug 15, 2010 at 04:40:09PM +0200, Csürke Tamás wrote:
hi, How can i write this java code in pike: Int a; this->a = 7; So what is the "this" in pike?
"this" in pike is the same, but in most cases it is not needed. you would just write
int a; a = 7;
or even
int a = 7;
greetings, martin.