[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 23 08:10:16 1999 
Subject:Re: enlarging structures 
From:Lee Goddard 
Volume-ID:991123.01 

"Stephen F. K. Leach" wrote:
> 
> Hi Lee,
> 
> >Hm. I'm not at all sure a dynamic list would help. I simply wish to
> >have a structure indexable - by integer or string - of unspecified
> >size, so that it can be added to when needed.

[Much appreciated explanations snipped for space]
 
> ... However, the fact that Pop11 does not have extensible vectors
> built-in should be a big clue that this is not the usual programming
> style used.  Perhaps Lee could post a reply indicating the overall
> context that this came up.  I think it would be interesting to
> compare and contrast the styles of programming.  My 50p says that
> what Lee "should" be using is the stack and lists.

I'm creating what I'm assured are 'intelligent' agents to explore a
network to discover a 'least cost' route. These I'd like to index,
which I thought to do by simply pushing references onto a stack -
at least, that's what I've done in Perl with no ugly results (it's
hard to get ugly results in Perl, easy to get ugly code).
 
> Actually, I think not having built-in extensible vectors is a pity.
> I have argued in that past that one of Pop11's great strengths is
> the ability to mimic the programming styles from other languages.

Had the same thought, but presume - as you note above and as Aaron
noted earlier in the thread - that perhaps it's a matter of AI 
technique.

Thanks for asking,
Lee