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

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

Search the Archive

Count[{Unevaluated[a]},Unevaluated[a]]

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Count[{Unevaluated[a]},Unevaluated[a]]
  • From: Michael.Trott at physik.tu-ilmenau.de
  • Date: Mon, 23 Nov 1992 19:10:50 +0000

 Hi cummunity,

 the above gives - a little bit surprisingly for me - 0.
 With a third argument: Count[{Unevaluated[a]},Unevaluated[a],{-1}]
 the result is 1 (as expected). Using On[] one sees that 
 Count "evaluates" its arguments. Literal instead of Unevaluated gives
 a similar result.
 Why does Count do this?

 Thanks for an answer,

 Michael Trott

 trott at physik.tu-ilmenau.de







  • Prev by Date: nonlinear two point boundary problems
  • Next by Date: Bug report / Re: Mathematica/MS Word/Postscript problem
  • Previous by thread: Materials for Multivariable Calculus
  • Next by thread: Bug report / Re: Mathematica/MS Word/Postscript problem