🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6571

Re: What is the "$"?

#6571
From: Jean-Yves Rehby
Date: Sat, 30 Aug 1997 00:00
27 lines
1703 bytes
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)

In fortran, the dollar sign has no special meaning (it doesn't 
imply pointers or references or elements of a structure or such).
It is just a character that may appear in a name, as long as it is
not the first character of the name. 
The author of the snipped of code above chose to name his variables
'n$', 'm$', and so on. 

Hoping this helps !

+-----------------------------------------------------+
               reply to adress below
+-----------------------------------------------------+
 Jean-Yves REHBY  -      MAILTO:rehby@ensic.u-nancy.fr
 student at              +----------------------------+
 E N S I C               |  Above  message  reflects  |
 1,rue Grandville BP 451 | nobody's opinions but mine |
 F-54001 NANCY Cedex     +----------------------------+
Technical Details
Message-ID: <340819C3.4388@ensic.u-nancy.fr>
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,start
X-Google-Attributes: gid167b2b,public
X-Google-Thread: 1094ba,10cf0056f7127394,start
X-Google-Attributes: gid1094ba,public
From: Jean-Yves Rehby <MON_NOM@ensic.u-nancy.fr>
Subject: Re: What is the "$"?
Date: 1997/08/30
Message-ID: <340819C3.4388@ensic.u-nancy.fr>
X-Deja-AN: 269055476
References: <01bcb513$6b602380$448b0585@goro.chem-eng.kyushu-u.ac.jp>
To: Mo Yun <moyun@chem-eng.kyushu-u.ac.jp>
Organization: CIRIL, Nancy, France
Reply-To: MON_NOM@ensic.u-nancy.fr
Newsgroups: comp.lang.fortran,fj.lang.fortran