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: Marco Bambini <marco at sqlabs dot net>
Date: Thu, 15 Dec 2005 22:15:49 +0100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <3A710B42-C352-4D33-9B91-F04FC553B604 at sqlabs dot net> <CAC84461-C87A-4EEB-8388-73CEF234F8C8 at realsoftware dot com>
On Dec 15, 2005, at 10:11 PM, Mars Saxman wrote:


On Dec 15, 2005, at 12:54 PM, Marco Bambini wrote:

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.

Why not just accept the way the system is designed to work and put your constants into a module?

Because I would like to reduce the time needed to convert C opengl code to RB. It should be nice if constants can be used as is, without the needs to append a moduleName. in each of them...

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