On Feb 01, 2007, at 10:05 AM, Daniel Stenning wrote:
Namespaces would indeed be very helpful - for two reasons:
1) it would allow for a better way of accessing Declares. A whole
bunch of
declares could be put inside a given namespace,m removing the need
to have
to keep declaring the same API functions inside every RB method
that calls
it
2) it would facilitate much better support for incorporating 3rd
party code
into projects - whether RB based through DLL declares or plugins.
My idea for namespaces would be to implement them simply as a
special type
of RB project folder. Any RB class, module,interface or window
placed
inside such a folder would then be accessed by using the namespace
name as a
dot prefix.
A module with methods works for this
Create a method that wraps the declare once and use the heck out of it
That is rb's namespace mechanism at the moment
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>