[Date Index] [Thread Index] [Author Index]
Re: lists of variables
dh wrote: > Hi Heath, > You already got many answers, but I think the solution to create > a variable name as a string and using ToExpression is not the > appropriate way to do this. > Array[..] is made for this purpose. I agree that using ToExpression to construct code is awkward and tends to obscure what the code is, but for functions such as Minimize, that require names of variables in their calling sequence, how else would you handle problems in which the number of variables is not fixed?