Re: names for init block keywords?
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <001e01c46846$5b5e4280$0b01a8c0@mark> |
Laurent Dube wrote:
> About "init:", I don't see a confusion with init_, as init_
> is a method at the object level, and "init:" designates a
> block inside a function.
Duh! I don't know how I confused the two. I even remember writing some
code somwhere like this which should be impossible. I'll have to find
that example and remove it before it embarrases me. :-)
def func():
defInit:
blah lah blah
def init_():
blah blah blah
Ok, I'll go for "init:". You aren't the first to suggest it. "outer:"
seems like a winner also.