RE: Using the value of a variable named by another variable
RE: Using the value of a variable named by another variable
- Subject: RE: Using the value of a variable named by another variable
- From: "Pierre Bernard" <email@hidden>
- Date: Thu, 4 Dec 2003 17:32:25 +0100
- Thread-topic: Using the value of a variable named by another variable
Use NSKeyValueCoding:
var2 = valueForKey(var1);
Pierre.
--
Got a hang for movies?
http://homepage.mac.com/I_love_my/movies.html
-----Original Message-----
From: David Griffith [mailto:email@hidden]
Sent: Tuesday, November 04, 2003 2:24 PM
To: email@hidden
Subject: Using the value of a variable named by another variable
Hi all,
Can someone tell me if it is possible to do this:
var1 = 3myVarName2;
var2= *the value of the variable named by var 1, i.e. myVarName
Regards,
Dave.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.