Decorator feature...
Mukhsein Johari <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all, Sorry for picking on things again but I'm just not convinced defInit and runInit are needed. (Heh, call me "The Feature Killer" or more simply "Wet Blanket" :-p) Seriously though, could you supply a more concrete example of defInit? As for runInit, it only becomes useful when the function is called, right? So we can just as easily: ----------------------- def funcB(): <do stuff> funcB.staticVar = 0 funcB() funcB.staticVar +! 1 ----------------------- ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html