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

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

Search the Archive

Re: HoldForm Obscurities

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33975] Re: HoldForm Obscurities
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 25 Apr 2002 02:59:47 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <aa5fs4$bu8$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

what you see is not what you have, try

FullForm[ HoldForm[Times[1, 1, 2, 2]] ]


The "formating" that still takes place with
HoldForm[] remove some times leading 1's 

Regards
  Jens

Dustin Vink wrote:
> 
> Dear Reader,
> 
> Can someone explain the following obscurity?
> 
> In: HoldForm[Times[1, 1, 2, 2]]
> 
> Out: 2 2
> 
> In: HoldForm[Times[1, 1, 2, 1]]
> 
> Out: 1 1 2 1
> 
> In: HoldForm[Times[1, 1, 2]]
> 
> Out: 1 1 2
> 
> In: HoldForm[Times[2, 1, 2]]
> 
> Out: 2 2
> 
> Dustin ~:(


  • Prev by Date: Definite Integrals & Hidden Cells
  • Next by Date: Solving equations / real valued variables and parameters
  • Previous by thread: HoldForm Obscurities
  • Next by thread: RE: HoldForm Obscurities