[Tutor] Re: Newbie OOP Question. (diff between function, modu le and class)

Skip Montanaro skip@pobox.com
Tue, 11 Jun 2002 08:35:39 -0500


    skip> system doesn't have a syntax for referring to the current module's
    skip> parent (no "..").

    sa> Ahh. Now that may prove interesting. Would it be beneficial to make
    sa> a reserved command like .. That pops you back into the parent
    sa> namespace?

    alan> There is sort of its the global statement:

Not quite what I was referring to (I was equating module namespaces and file
system directories), but I agree, in the context of a function the global
statement does "pop you up" one level.

Skip