MathGroup Archive 2006

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

Search the Archive

Beginner--Programming Problem with "if"

  • To: mathgroup at
  • Subject: [mg65718] Beginner--Programming Problem with "if"
  • From: LLCOOLT at
  • Date: Sun, 16 Apr 2006 01:45:23 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


I write my programms like this

  Code line 1;
  Code line 2;
  Code line 3

This works until I use If

is there any possibility to combine the code?

this doesn't work:
  True line 1;
  True line 2;
  True line 3
  Else line 1;
  Else line 2;
  Else line 3

Help me Please


Link to the forum page for this post:
Posted through [[postId=9611]]

  • Prev by Date: Re: List Operations
  • Next by Date: Where do I put my own add-on packages?
  • Previous by thread: Re: Re: Problem with limiits
  • Next by thread: Re: Beginner--Programming Problem with "if"