I have a series of items (variables) which need the same work done on them.
These are not in any pre-existing group, but merely a bunch of variables I
am creating, e.g., "address", "name", "assignment", etc.
I was thinking of using "For Each" but that seems to be limited to
pre-existing sets of items. I presume that I can set up some sort of array
to deal with this but I don't have a clue how to do this.
Jezebel - 09 Jan 2007 22:24 GMT
You can't do work 'on' a variable ... what are you trying to do?
You can use For...each if you put your items into a collection.
>I have a series of items (variables) which need the same work done on them.
> These are not in any pre-existing group, but merely a bunch of variables I
[quoted text clipped - 4 lines]
> array
> to deal with this but I don't have a clue how to do this.
Malcolm Smith - 10 Jan 2007 05:39 GMT
> *From:* "L.A. Lawyer" <kapplaw@linkline.com>
> *Date:* Tue, 9 Jan 2007 14:13:50 -0800
[quoted text clipped - 9 lines]
> array
> to deal with this but I don't have a clue how to do this.
Why not call a function or subroutine with the variable as an argument?
- Malc