On 1-Feb-07, at 12:40 PM, Norman Palardy wrote:

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

If RB could inline these wrapper methods that might actually be useful! I don't really get the namespace request but a way to define a declare once and use it everywhere (or define it once in a class and use it there) would be hugely helpful. I recall a time when you could drag a library into the project and defining entry points - decalres seem a bit backwards in comparison...

Frank.
<http://developer.chaoticbox.com/>


_______________________________________________
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>

Reply via email to