Re: Re[2]: (Another) (small) Eu 2.5 feature request.

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

On 24 Sep 2004, at 13:28, Patrick Barnes wrote:

>=20
>=20
> > > Y'know, it's wonderful that a sequence can hold anything... it's much=

> > > better than C-style arrays.
> > > However, can *anyone* show me a program where they've used a sequence=

> > > variable that was:
> > > 1. Large.
> > > 2. Completely non-homogenous. That is, there was no underlying
> > > structure to the sequence *at all*...
> > >
> >=20
> > Win32lib has the potential to do that. It uses a type of associative ar=
ray for
> > some things.
>=20
> Really? So there's no pattern whatsoever to the array? Can you expand
> that description?

I used getxml() for years to extract freeform unstructured data from
sequences, like this:

<h1>Cat Stevens </h1> <fld01>Cat Stevens</fld01> <br>
<fld29> </fld29> <fld18> </fld18> <br>
1. <defblk> <Syntax>propnoun,sing</Syntax>=20
<Semantic>per+male</Semantic> <def>a singer and songwriter in the USA;
wrote "Baby It's A Wild World" and "Lady D'Arbanville" for the actor and=
=20
model Patti D'Arbanville.</def> </defblk> <br>

or this:

<h1>cat </h1> <fld01>cat</fld01> <br>
<fld18>catty,cattier,cattiest,cattily,cattiness,cattish</fld18> <br>
<fld29>cats,catting,catted</fld29> <br>
<snip>
2. <defblk> <fld20>03</fld20> <Syntax>noun,sing</Syntax>
<Semantic>real+animal</Semantic> <def>a small, lithe, soft-furred animal=
=20
(<altname>Felis cattus </altname>) of this family, domesticated since
ancient times and often kept as a pet or for killing mice</def> </defblk> <=
br>


Kat=0F

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

Search



Quick Links

User menu

Not signed in.

Misc Menu