Re: How to tie
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 10:53:23 -0500
Abble wrote:
Thanks, Lew, but I'd like if possible to not have to wrap my array.
Why not?
Here's another angle to the question: Can I dynamically declare new
array names, for instance, if I have a function that opens up a
database, can that function look up the names of the fields in the
database and make similar variables "appear"?
Something like:
OpenDB( "mydb.xyz" ); //mydb.xyz has in it a definition of arrays
A,B, C
// now at this point arrays A B C spring into existence and
populated.
D[i] = A[ i ] + B[i] + C[ i ]; // use A B c
What does declaring new names get for you that simply assigning new arrays to existing variables doesn't?
--
Lew
.
- Follow-Ups:
- Re: How to tie
- From: Abble
- Re: How to tie
- References:
- How to tie
- From: Abble
- Re: How to tie
- From: Christian
- Re: How to tie
- From: Lew
- Re: How to tie
- From: Abble
- How to tie
- Prev by Date: Re: the MI 5 spammer
- Next by Date: Re: SWT or Swing?
- Previous by thread: Re: How to tie
- Next by thread: Re: How to tie
- Index(es):
Relevant Pages
|