Re: goto and label
- To: mathgroup at smc.vnet.net
- Subject: [mg57757] Re: goto and label
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Tue, 7 Jun 2005 05:59:46 -0400 (EDT)
- Organization: Uni Leipzig
- References: <d83dta$o1u$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, a) don't use Goto[] Mathematica has many other programing constructs b) myFunction[x_] := Module[{i, w = x}, i = 0; Label[start]; i++; w += w*x + 1; If[i < 5, Goto[start]]; w ] ?? Regards Jens "Guy Israeli" <guyi1 at netvision.net.il> schrieb im Newsbeitrag news:d83dta$o1u$1 at smc.vnet.net... > Hi > > can someone give clearer instruction on how to > use Goto and label than the > help offers? > > Thanks, > > Guy > >