MathGroup Archive 2000

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

Search the Archive

RE: List element manipulation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25460] RE: [mg25408] List element manipulation
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 1 Oct 2000 02:44:44 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Martin,

MapAt[# - 1 &, Range[116, 166, 8], -1]

{116, 124, 132, 140, 148, 156, 163}

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> -----Original Message-----
> From: Martin Rommel [mailto:Martin_Rommel at mac.com]
To: mathgroup at smc.vnet.net
>
> I want to decrement the last number in list. This ought to be easy, but my
> initial attempts did not bear fruits:
>
>



  • Prev by Date: Re: List element manipulation
  • Next by Date: Re: extracting common items from a list
  • Previous by thread: Re: List element manipulation
  • Next by thread: Re: List element manipulation