Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1994
*January
*February
*March
*April
*May
*June
*July
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1994

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

Search the Archive

Fortran code

  • To: MATHGROUP at yoda.physics.unc.edu
  • Subject: Fortran code
  • From: "Mathematical Institute, (0865) 273525" <abbey at vax.ox.ac.uk>
  • Date: Wed, 22 Jun 1994 17:48:02 +0100

Dear MMA users,

I wish to pass some parameter values generated as a list by MMA to a Fortran
code. The following is an example.

In[12]:= FortranForm[{s1 -> 1., s2 -> 2.}]

Out[12]//FortranForm= List(Rule(s1,1.),Rule(s2,2.))

VAX Fortran does not understand "List" and "Rule". How does one circumvent 
this ?

Abbey.






  • Prev by Date: importing pixmaps
  • Next by Date: Re: PowerPCs
  • Previous by thread: Re: importing pixmaps
  • Next by thread: Re: Fortran code