Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: [Q] How to get rid of {} in lists?



Alessandro Rossi wrote:
> 
> Hi all: that's my problem...it seems to me very easy but I caan get out
> of it with a solution:
> 
> I'd like to put the ordered elements of a list as parameters in a
> function...
> 
> e.g.
> 
> list={True, False};
> And[list] is not And[True, False]... how can I get rid of {} in order to
> perform the calculation???
> 
> thanks in advance
> 
> Alessandro


It is difficult to determine exactly what you are asking, but I think
you want the command Sequence.  In your case

And[Evaluate[Sequence@@list]]

evaluates to False.
-- 
Remove the _nospam_ in the return address to respond.



  • Prev by Date: general help needed in finding journal articles
  • Next by Date: Re: Is there a 3.01 student version?
  • Prev by thread: RE: [Q] How to get rid of {} in lists?
  • Next by thread: Re: [Q] How to get rid of {} in lists?