Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Re: why does this happen?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61256] Re: [mg61225] why does this happen?
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Fri, 14 Oct 2005 05:53:46 -0400 (EDT)
  • References: <200510130539.BAA04533@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com


On Oct 13, 2005, at 1:39 AM, Chris Chiasson wrote:

> r[Pattern[junk[stuff],_],x_]=junk[stuff]^2+x
> First element in pattern Pattern[junk[stuff],_] is not a valid  
> pattern name.

The first argument to a pattern must be a symbol, junk[stuff] is an  
expression.

Regards,

Ssezi


  • Prev by Date: (a/b)^2 when a/b is replaced by e won't yield e^2
  • Next by Date: Re: Re: Language vs. Library why it matters
  • Previous by thread: why does this happen?
  • Next by thread: Re: why does this happen?