Gotchas with Importing RB Projects in XML format

0 views
Skip to first unread message

Thomas Tempelmann

unread,
Feb 4, 2006, 5:13:45 PM2/4/06
to REALbasic NUG, REALs...@googlegroups.com
I knew that there were problems with RB not reading all kinds of XML
files when hand-generated, but this one got me tripped for a while:

I wanted to put a _private_ (versus public) constant into the code.

In short, this does not work:

<Constant>
<TextEncoding>134217984</TextEncoding>
<ItemName>privconst</ItemName>
<ItemType>1</ItemType>
<ItemDef>1</ItemDef>
<ItemFlags>33</ItemFlags></Constant>

While this works:

<Constant>
<TextEncoding>134217984</TextEncoding>
<ItemName>privconst</ItemName>
<ItemType>1</ItemType>
<ItemDef>1</ItemDef>
<ItemFlags>33</ItemFlags>
</Constant>

(note the last line)

--
Thomas Tempelmann - exaggerating over a million times a day!
http://www.tempel.org/rb/ -- The primary source of outdated REALbasic
plugins and examples
Skype: tempel.org AIM: superTempel

Reply all
Reply to author
Forward
0 new messages