realbasic-plugins
[Top] [All Lists]

Re: Maybe a way to register global constants?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Maybe a way to register global constants?
From: Will Leshner <will at haranbanjo dot com>
Date: Thu, 15 Dec 2005 13:20:19 -0800
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <3A710B42-C352-4D33-9B91-F04FC553B604 at sqlabs dot net> <6f22480434decd02bf7c03b277c82e56 at great-white-software dot com>

On Dec 15, 2005, at 1:07 PM, Norman Palardy wrote:

Personally I'd create a module with a set of constants so people have to use

        OpenGLModule.constant

so there is NO ambiguity about where the constant came from AND you get name space protection against duplicate names. At worst you'd have to change the name of the module and not every constant.


Yeah. I have to agree that this would be my choice as well.

--
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzBlog: http://haranbanjo.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>


<Prev in Thread] Current Thread [Next in Thread>