MathGroup Archive 2009

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

Search the Archive

Re: Generating a list numnber in string format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102626] Re: Generating a list numnber in string format
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Mon, 17 Aug 2009 04:03:58 -0400 (EDT)

On 8/16/09 at 6:40 AM, rich.bis at wanadoo.fr (Richard Trilling) wrote:

>I would like to be able generate a list of numbers from 1 to n
>string format.

>binlist={"1","2","3","4",..."n"}

>I need to use them in this format to map into a list of variable
>names

>binnames = Map["bin" <> # &, binlist]

So, change the above to

binnames = Map["bin" <> ToString[#] &, Range[n]]



  • Prev by Date: Re: Functions of Arrays
  • Next by Date: Re: Intersection of line and a surface of revolution - a problem with
  • Previous by thread: Re: Generating a list numnber in string format
  • Next by thread: Re: Generating a list numnber in string format