|
[Date Index]
[Thread Index]
[Author Index]
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: <94m96g$3nd@smc.vnet.net> <AWQb6.6118$nn4.160298@ralph.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> In[20]:=
> v = 5
> c = 2
> v = v - c
> Out[20]= 5
> Out[21]= 2
> Out[22]= 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
Prev by Date:
Re: Factor[1+x^4]
Next by Date:
How can I creat a user coordinate system for my routine?
Previous by thread:
Re: FORTRAN style, not OK?
Next by thread:
Re: Fw: FORTRAN style, not OK?
|