RE: How To Do This...

new topic     » goto parent     » topic index » view thread      » older message » newer message

C. K. Lester wrote:
> 
> I want to reference data like so:
> 
>     x = company.name -- so x = "My Company, Inc."
> 
>     y = company.contact.name.first -- so y = "Christopher"
> 
> or something like that.

You could do this with a EuSQL table.  An easy way to set this up would 
be to use my Euphoria Database Browser.  Then you could do something 
like:

x = get_record( my_db, company_table, "My Company, Inc.",
  "contact.name.first", "")

Basically, a field can be a sequence containing other subfields, to 
whatever level you like.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu