Format.m
- To: mathgroup at smc.vnet.net
- Subject: [mg82894] Format.m
- From: "Cetin Haftaoglu" <cetin.haftaoglu at bam.de>
- Date: Fri, 2 Nov 2007 03:35:47 -0500 (EST)
I am using the Format.m package to convert Mathematica expressions in FORTRAN style. When I try to convert an If-statement I get the following output: In:= FortranAssign[If[y2=A30.,0.,2. y2 = y3],AssignFortranNumbers=AEFalse] Out:= If(y2.le.0.,0.,FormatxPrivatexFRH(2.*y2*y3)) The normal FortranForm-output is correct: Out:= If(y2.le.0.,0.,2.*y2*y3) Has anybody a solution or a explanation? TIA Regards, Cetin