Aye, those are nestings, not peer relationships... so you're not going
to end up with

productrange1.name, you're going to end up with

productrange.1.name

Which, unless you're using associative array notation (which the
example wouldn't be unless the original was declared as a quoted
string literal) will fail because a numerical value is not a valid
variable name.

I'm thinkin Pascal said it best...

variables["productrange" & id].name

Just because I like messing with variables, this could be extended...

variables["productrange" & id].name["column1"][1]

Or even

variables["productrange" & id].name["column" &
id][variables["productrange" & id].currentRow]

Ya never know when you're going to need a REALLY FREAKY variable to
impress the girl next door. Hehe...

J

On 4/25/05, James Holmes <[EMAIL PROTECTED]> wrote:
> 
> That would mean that "id" is an array or struct, indexed by the value of
> "name", with "Productrange" in turn indexed by that value of "id".
> 
> -----Original Message-----
> From: Phillip B. Holmes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 26 April 2005 8:11
> To: CF-Talk
> Subject: RE: nest #
> 
> How about:
> 
> #Productrange[id[name]]#
> 
> Phil
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204408
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to