Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: Re: Is this a bug?

  • To: mathgroup at
  • Subject: [mg13459] Re: [mg13386] Re: Is this a bug?
  • From: "Jurgen Tischer" <jtischer at>
  • Date: Fri, 24 Jul 1998 01:45:43 -0400
  • Sender: owner-wri-mathgroup at

No bug, forced order of evaluation:




-----Original Message-----
From: jfreeze at <jfreeze at> To:
mathgroup at
Subject: [mg13459] [mg13386] Re: Is this a bug?

>The following seems to be a bug. In the first example, both the true and
>the false parts of If are being evaluated. In the secon example, only
>the true part. If this is not a bug, could someone please explain this
>behavior to me. Thanks
>     Clear[x,y];
>     Print[x,y];
>     55
>     Clear[x,y];
>     If[True,x=5,y=5];
>     Print[x,y];
>     5y

  • Prev by Date: Re: writing programs
  • Next by Date: Re: tag Times protected??
  • Previous by thread: Re: Is this a bug?
  • Next by thread: Re: Re: Re: Is this a bug?