PDA

View Full Version : nproc/nfunc in a class


Nicknack
05-21-2009, 12:19 PM
there seem to be an issue with nproc/nfunc in classes, check it out:
#class foo
public nfunc test
showmessage(args$[0]);
end;
#endclass

nproc test
showmessage(args$[0]);
end;

proc main
test(445, 655, 2);

#object foo a$
a.test(445, 655, 2);

end;

kornalius
06-01-2009, 08:26 PM
I wouldn't be too worried about this issue. A lot has been changed/fixed/enhanced/redone in 1.60 and I use OO language features very aggressively in PPL 2.0 and this situation I use a lot and it works fine. :)

Nicknack
06-02-2009, 09:06 PM
I already thought it would be so, thanks kornalius.
btw can you accept me to the wikispace, you should have recieved my request from there :)

kornalius
06-04-2009, 11:17 PM
NickNack, I received it a little while ago and accepted your request, try logging in and let me know.