realbasic-plugins
[Top] [All Lists]

Re: Global constants

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Global constants
From: Will Leshner <will at haranbanjo dot com>
Date: Sun, 4 Dec 2005 19:42:28 -0800
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <1h6z09k dot jvw60z204edcM%support at monkeybreadsoftware dot de> <43114280-95BC-404C-AB18-F86F0A760FED at sqlabs dot net> <378AB65D-AA2F-45D0-AFCC-FAC5278316D1 at realsoftware dot com> <53AB75A6-A962-4452-A090-58EAD24FDE7F at sqlabs dot net>

On Dec 4, 2005, at 1:32 AM, Marco Bambini wrote:

Oh ... so Mars, there is no way to define global constant from inside my plugin?

Actually, it would be better to have the constants require the dot notation. Either have them be part of a class, or part of a module your plugin exposes. To do otherwise pollutes the global namespace.

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