MathGroup Archive 2000

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

Search the Archive

RE: List element manipulation


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