jmp-l
[Top] [All Lists]

Re: Adding an Item to a list

To: <jmp-l@lists.biostat.wustl.edu>
Subject: Re: Adding an Item to a list
From: "Guillaume BUGNON" <guillaume.bugnon@soitec.fr>
Date: Fri, 16 May 2008 14:04:45 +0200
In-reply-to: <1EB87E4BC4B41244A6B223D1DCAF67CA024CDF63@aazajnb155.anglo.local>
Thread-index: Aci3SvVbvb+LvhRcRICW2s3UYD+HJAAASMpg
Thread-topic: [jmp-l] Adding an Item to a list

Hi Fanie,

You can add an item to a list like that :

mylist = List();
mylist = {a,b,c};

mylist = mylist || {d};

Regards,
Guillaume
________________________________

De : jmp-l-owner@lists.biostat.wustl.edu [mailto:jmp-l-owner@lists.biostat.wustl.edu] De la part de Nel, Fanie
Envoyé : vendredi 16 mai 2008 13:50
À : jmp-l@lists.biostat.wustl.edu
Objet : [jmp-l] Adding an Item to a list


Dear List,
 
How do I append a value to a list variable ?
 
For example if mylist = List{a,b,c} how do I add another item ,d, to the list so that mylist = {a,b,c,d} ?
 
Thank you
Fanie Nel

<Prev in Thread] Current Thread [Next in Thread>