realbasic-nug
[Top] [All Lists]

Add constants to a module in XML?

To: RB NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Add constants to a module in XML?
From: Ward Clark <ward at joyofmacs dot com>
Date: Wed, 30 Jun 2004 17:35:01 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
I'm creating a new module that includes a LOT of constants. Since defining each constant in the RB 5.5.2 IDE would take a LONG time, I decided to try editing an XML text file:

1. Create a dummy project with a skeleton module containing several constants.
2.  Save the project in XML format.
3. Edit the XML source file in BBEdit, adding a bushel of <Constant> elements.
4.  Reopen the XML project in in the RB IDE.

The modified XML project opens with no complaint from the IDE, but the module with all of my handcrafted constants is missing.

Should my process have worked? If so, does anyone have a guess where I went astray?

-- Ward

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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