Path: utzoo!attcan!uunet!dayvb!fac2 From: fac2@dayton.saic.com (Earle Ake) Newsgroups: comp.lang.fortran Subject: Re: Strange EQUIVALENCES and data inits Message-ID: <983.25dc3867@dayton.saic.com> Date: 16 Feb 90 22:29:11 GMT References: <14121@s.ms.uky.edu> <13160004@acf4.NYU.EDU> <4163@odin.SGI.COM> Organization: Science Applications Intl. Corp., Dayton, Ohio Lines: 36 In article <4163@odin.SGI.COM>, calvin@dinkum.sgi.com (Calvin H. Vu) writes: > In article <13160004@acf4.NYU.EDU> mcqueen@acf4.NYU.EDU (David M. McQueen) writes: > >>/* acf4:comp.lang.fortran / morgan@ms.uky.edu (Wes Morgan) / 3:02 pm Feb 12, 1990 */ > >>> I am attempting to port the PD MATLAB package to a 3B20 with f77. >>> The following chunk of code refuses to compile: >>> >>> DOUBLE PRECISION MASK(14),XX,MM >>> real mas(2,14) >>> equivalence (mask(1),mas(1)) >>> data mas/ > > For the machine which do not allow this syntax for hexadeciaml constants, try > the followings: > > 'hexstring'x or x'hexstring' > $hexstring > > the form 'hexstring'x is the most popular form and should work on all machines. > Anyway, look at your Fortran Reference Manual to see which form of hex. > constant they support. They must support one form or another. On a VAX/VMS machine, the form 'hexstring'x is accepted. BTW, who is the author of the MATLAB package you are modifying? The person who is working on the AMIGA version is Jim Locker and can be reached at: uunet!dayvb!afitamy!jim.locker if you need to communicate with him directly. Good luck. -- _____________________________________________________________________________ ____ ____ ___ Earle Ake /___ /___/ / / Science Applications International Corporation ____// / / /__ Dayton, Ohio ----------------------------------------------------------------------------- Internet: fac2%dayton.saic.com@uunet.uu.net uucp: uunet!dayvb!fac2