🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6573

Re: What is the "$"?

#6573
From: Gary L. Scott
Date: Sat, 30 Aug 1997 00:00
37 lines
1940 bytes
The $ has no special meaning in Fortran.  It may have had meaning for
the programmer that used it (it could have meant something like all
variables ending in $ are "input" variables or all variables ending in $
are "system" or "constant" variables).  In my experience, a dollar sign
is used most often to define "system" variables or functions.  Some
library vendors prefix variable names (instead of suffixing) with $ to
indicate a "system" constant.  I don't see any clear purpose in your
example.  If they are all local variables/constants (even if not) and
you don't like the $, you could probably just string change to another
character (being careful to avoid naming conflicts).

Mo Yun wrote:

> I don't know what is the meaning of the "$" that is in following
> parameter
> statements ?
> Could anyone can help me?  Thank you.  Please also give me a e-mail.
>
>       parameter(n$=160,   m$=60)
>       parameter(n1$=n$+1, m1$=m$+1,     n2$=n$+2, m2$=m$+2)
>
>
> -----------------------------------------------------------
> Dr. Mo Yun
> Department of Chemical Engineering,
> Faculty of Engineering
> Kyushu University
>
> 6-10-1 Hokozaki, Higashi-ku
> 812-81 Fukuoka
> Japan
>
> Phone: (+81)(0) 92 642 3517
> Fax:      (+81)(0) 92 642 3519
> E-mail: moyun@chem-eng.kyushu-u.ac.jp
> ------------------------------------------------------------
Technical Details
Message-ID: <34083650.198F7865@flash.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bcb513$6b602380$448b0585@goro.chem-eng.kyushu-u.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 167b2b,10cf0056f7127394
X-Google-Attributes: gid167b2b,public
X-Google-Thread: 1094ba,10cf0056f7127394
X-Google-Attributes: gid1094ba,public
From: "Gary L. Scott" <scottg@flash.net>
Subject: Re: What is the "$"?
Date: 1997/08/30
Message-ID: <34083650.198F7865@flash.net>
X-Deja-AN: 269137352
References: <01bcb513$6b602380$448b0585@goro.chem-eng.kyushu-u.ac.jp>
X-Priority: 3 (Normal)
Organization: Home
Reply-To: scottg@flash.net
Newsgroups: comp.lang.fortran,fj.lang.fortran