A "#package ..." statement could automatically insert
End Namespace before "#include ..." and
"Namespace ..." after includes.
What do you think?
example code
Code: Select all
package tld.mydomain.mypackage
#Include Once "point.bi"
#Include Once "awtobject.bi"
Type Component extends AWTObject
Declare Constructor()
Private:
location as Point
h As Integer
w As Integer
'....
End Type
Code: Select all
Namespace tld.mydomain.mypackage
End Namespace
#Include Once "point.bi"
Namespace tld.mydomain.mypackage
End Namespace
#Include Once "awtobject.bi"
Namespace tld.mydomain.mypackage
Type Component extends AWTObject
Declare Constructor()
Private:
location as Point
h As Integer
w As Integer
'....
End Type
End Namespace