Luke Palmer wrote:

Since there is a syntax for invoking subs:

   .sub foo
   # ...
   .end

   .sub bar
       foo()
   .end

Should there be one for invoking a sub out of a namespace, say:

   .namespace [ "Foo" ]

   .sub bar
   # ...
   .end

   .namespace [ "Baz" ]

   .sub quux
       [ "Foo", "bar" ]()
   .end

?


I would suggest a slightly adapted form:

   .sub quux
      [ "Foo" ] bar()
   .end

if quux is in the same namespace (i.e. Foo), then this namespace specifier is not necessary, so that's a bit more clean when one does:

.sub quux
[ "Foo" ] bar()
bar()
.end
I know it's not important at the moment, but this is what I would prefer.


klaas-jan



Reply via email to