Re: enumerating list items
- To: mathgroup at smc.vnet.net
- Subject: [mg56004] Re: enumerating list items
- From: Peter Pein <petsie at arcor.de>
- Date: Wed, 13 Apr 2005 01:10:41 -0400 (EDT)
- References: <d3g96u$t4i$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
S=F8ren Merser wrote: > hi > > is there a way to make each item in the list 'assignable', i.e. i want to > enumerate the items like id=1, gender=2 etc. > > a={"id", "gender", "status", "odag"} > > b=Range@Length@a > > a=b > > regards soren > > Evaluate[ToExpression[a]] = b -- Peter Pein Berlin