Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: Variables from Lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26817] Re: Variables from Lists
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 25 Jan 2001 01:13:02 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <94gpsg$qmg@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

you should set $RecusionLimit=Infinity and buy more RAM.

The assigment

bd={bd,SBEND,L,1.5,K,-1.2}

will cause an inifinite recursion and is perfect nonsens.

Regards
  Jens

James Jones wrote:
> 
> Hi,
> 
> I have a list of data, but I want to assign a variable to that list, where
> the variable name is part of the list.
> 
> i.e.   List = {bd, SBEND,L,1.5,K,-1.2}
> 
>         bd = {bd,SBEND,1.5,-1.2}
> 
> Obviously its trivial here, but I need to do it within a function so that
> Part[List,1] is assigned to List, without reassigning Part[List,1] within
> List, if that makes sense :-)
> 
> i.e bd =!= { {bd, SBEND,L,1.5,K,-1.2}, SBEND, 1.5, -1.2}
> 
> Any help much appreciated,
> 
> James Jones
> Daresbury Lab.


  • Prev by Date: RE: matrices
  • Next by Date: Re: FORTRAN style, not OK?
  • Previous by thread: RE: Variables from Lists
  • Next by thread: Statistics functions in packages