realbasic-plugins
[Top] [All Lists]

Maybe a way to register global constants?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Maybe a way to register global constants?
From: Marco Bambini <marco at sqlabs dot net>
Date: Thu, 15 Dec 2005 21:54:09 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
I know that there isn't a way to add global constants inside a plugin so my idea is to extend the RealBasic class and just add to it the constants I need.
In this way they appears to be globals in the IDE...
Constants in my plugin are all in the form GL_* so there should not be any collision risk.

I wonder if this method is too risky...
Any opinion?
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/



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