MathGroup Archive 2000

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg24238] Programming+Goto
  • From: "akarkal" <akarkal at>
  • Date: Tue, 4 Jul 2000 15:22:03 -0400 (EDT)
  • Organization: National Technical University of Athens, Greece
  • References: <8jrd2i$>
  • Sender: owner-wri-mathgroup at

akarkal <akarkal at> wrote in message
news:8jrd2i$e2n at
I am trying to write a program in mathematica and i need to use a condition
 like this:

 i=0                      ]
 10    i=i+1           ]
 ...                        ]
 commands           ]
 ...                        ]
 If[i<imax,Goto 10]

 This is very easy in Fortran but i can't find out how i can  use a
 with Goto, so that i can reexecute a previously executed cell.
 Detween the i=i+1 statement and the If[i<imax,Goto 10] ,there are many
 commands (more than 40) which i don't want to put them in one and only
 Also, i dont necessarily want to use the Goto command. Any equivelant is
 Thanks to everybody.
 akarkal at


  • Prev by Date: Using Block instead of Module?
  • Next by Date: Re: Programming+Goto
  • Previous by thread: Programming+Goto
  • Next by thread: Re: Programming+Goto