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 2000

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

Search the Archive

Re: Programming+Goto

  • To: mathgroup at
  • Subject: [mg24247] Re: Programming+Goto
  • From: zhl67 at
  • Date: Tue, 4 Jul 2000 15:22:10 -0400 (EDT)
  • References: <8jrd2i$>
  • Sender: owner-wri-mathgroup at

In article <8jrd2i$e2n at>,
  "akarkal" <akarkal at> wrote:
> Hi.
> I am trying to write a program in mathematica and i need to use a
> like this:
> i=0                      ]
> 10    i=i+1           ]
> ...                        ]
> commands           ]
> ...                        ]
> 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 cell.
> Also, i dont necessarily want to use the Goto command. Any equivelant
> acceptable.
> Thanks to everybody.
> akarkal at

Why not using the While[...] loop?

L Zhao

Sent via
Before you buy.

  • Prev by Date: Programming+Goto
  • Next by Date: Re: Repeated function evaluation?
  • Previous by thread: Programming+Goto
  • Next by thread: Repeated function evaluation?