MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

enumerating list items

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55976] enumerating list items
  • From: Søren Merser <merser at image.dk>
  • Date: Tue, 12 Apr 2005 05:26:46 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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



  • Prev by Date: Re: Series[] command
  • Next by Date: Infinite sum of gaussians
  • Previous by thread: Re: Re: Mathematica graphs in WORD
  • Next by thread: Re: enumerating list items