MathGroup Archive 2007

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

Search the Archive

Re: Multiple Constants

  • To: mathgroup at
  • Subject: [mg83270] Re: Multiple Constants
  • From: Bill Rowe <readnewsciv at>
  • Date: Fri, 16 Nov 2007 05:37:26 -0500 (EST)

On 11/15/07 at 5:37 AM, thehammerster at wrote:

>Hi, I'm new to Mathematica and I feel like this is a stupid question
>but I can't seem to define more than one constant

>If I type SetAttributes[a,b,c,Contstant] I get SetAttributes::argrx:
>SetAttributes called with 4 arguments; 2 arguments are \expected.

So, give SetAttributes only 2 arguments as it wants. You can
achieve the desired result with only one line of code with either

SetAttributes[{a,b,c}, Constant]



In either case, SetAttributes will only see two arguments.
To reply via email subtract one hundred and four

  • Prev by Date: Re: Default value for Dynamic InputField
  • Next by Date: Re: Solving Differential Equations with Vectors
  • Previous by thread: Multiple Constants
  • Next by thread: Re: Multiple Constants