comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » using Container object for Strings?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
using Container object for Strings? [message #52879] Thu, 08 March 2007 09:25
Laurens is currently offline  Laurens
Messages: 41
Registered: May 2006
Member
Hi Folks,

It must be that i'm too sleepy or worked too much this day, but i'm
missing something here...

I want to load, get, set and save some settings into my program and i'm
doing so using an xml-file. All good there, code looks good and looks
like its workin allright.

Now I want every setting I read being put into an IDL container, one
container for the setting name, one container for the value. I like the
idea of an container for that it manages its size automatically and - I
though of it as a feature - that I could use isContained("name",
POSITION=pos) to find elements.

Now, appearantly I was wrong. First of all, it seems i can only put
objects into that container as it doesn't accept a string. There flies
the idea of searching in a fast way. Second, well there really is no
second...if I can't store strings, I can't store any names nor any
values (all settings are stored as string).

Now, am I thinking to complicated, or is there a workaround to put
strings into those containers and keep the nice "isContained" searching
(which its function I probably just misunderstood)?

Looking forward to some wise thoughts :)


Cheers,

Laurens
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: What is the difference between 'curvefit', 'lmfit' and 'svdfit' procudure?
Next Topic: Re: using Container object for Strings?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 15:44:18 PDT 2025

Total time taken to generate the page: 0.87716 seconds