Re: FORTRAN style, not OK?
- To: mathgroup at smc.vnet.net
- Subject: [mg26876] Re: FORTRAN style, not OK?
- From: Albert Retey <albert.retey at visualanalysis.com>
- Date: Fri, 26 Jan 2001 01:27:22 -0500 (EST)
- Organization: Visual Analysis
- References: <firstname.lastname@example.org> <AWQb6.email@example.com>
- Sender: owner-wri-mathgroup at wolfram.com
> In:= > v = 5 > c = 2 > v = v - c > Out= 5 > Out= 2 > Out= 3 > > Whatever the problem is, it is not Mathematica's own syntax. Why not look > more closely at what your code does? > > -- > Paul Lutus > www.arachnoid.com Very important point: _IF_ you set v to a specific value before calling v=v-c there is no problem in Mathematica. If you don't, then you will run into an infinit recursion. But in this case (without assigning a value to v) the FORTRAN statement would not make too much sense anyway?? I would even suspect the compiler could complain... Albert -- Visual Analysis AG Internet: www.visualanalysis.com Neumarkter Str. 87 Telefon: 089 / 431 981 36 D-81673 Muenchen Telefax: 089 / 431 981 1