How to create a new folder in FORTRAN 77?
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.fortran Profile…
 Up
How to create a new folder in FORTRAN 77?         


Author: Praveen.Kumar.Jayaram
Date: Aug 22, 2008 03:39

Hi,

How to create a folder if it doesn't exist using FORTRAN 77 language?

Regards,
Praveen
13 Comments
Re: How to create a new folder in FORTRAN 77?         


Author: Dave Seaman
Date: Aug 22, 2008 04:46

On Fri, 22 Aug 2008 03:39:23 -0700 (PDT), Praveen.Kumar.Jayaram@gmail.com wrote:
> Hi,
> How to create a folder if it doesn't exist using FORTRAN 77 language?

Nobody had heard of "folders" on computers when the Fortran 77 standard was
written.

--
Dave Seaman
Third Circuit ignores precedent in Mumia Abu-Jamal ruling.
<http://www.indybay.org/newsitems/2008/03/29/18489281.php>
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: fj
Date: Aug 22, 2008 04:56

On 22 août, 12:39, Praveen.Kumar.Jaya...@gmail.com wrote:
> Hi,
>
> How to create a folder if it doesn't exist using FORTRAN 77 language?
>
> Regards,
> Praveen

There is no standard way. Nevertheless, I often use the SYSTEM routine
which is usually provided with each FORTRAN compiler (with variants :
sometimes a subroutine, sometimes a function, sometimes a name
slightly different like FSYSTEM) :

CALL system('mkdir mydirectory')

If you want to create a directory with a path, then you must take care
about the file delimiter. I often declare an environment variable
containing the OS dependent delimiter (\ on windows and / on unix). To
get this environment variable, I use the F2003
GET_ENVIRONMENT_VARIABLE routine. With older FORTRAN compilers, the
corresponding non standard routine was often GETENV :
Show full article (1.05Kb)
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: Luka Djigas
Date: Aug 22, 2008 05:10

On Fri, 22 Aug 2008 11:46:01 +0000 (UTC), Dave Seaman
wrote:
>On Fri, 22 Aug 2008 03:39:23 -0700 (PDT), Praveen.Kumar.Jayaram@gmail.com wrote:
>> Hi,
>
>> How to create a folder if it doesn't exist using FORTRAN 77 language?
>
>Nobody had heard of "folders" on computers when the Fortran 77 standard was
>written.

Very few heard of "folders" even when the '90 standard was written ;-)

Best regards
digas
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: kronecker
Date: Aug 23, 2008 12:56

On Aug 22, 10:39 pm, Praveen.Kumar.Jaya...@gmail.com wrote:
> Hi,
>
> How to create a folder if it doesn't exist using FORTRAN 77 language?
>
> Regards,
> Praveen

Use a real programming language. Fortran is for number crunching only.

K.D
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: Terence
Date: Aug 23, 2008 14:52

kronec...@yahoo.co.uk wrote:
> Use a real programming language. Fortran is for number crunching only.
>
> K.D

Oh! Dear me, no!
I have used C, Forth, Basic, PL/1, Pascal, Algol, Cobol, Lisp, and
other languages as well as Fortran in my 1960-to-date programming
life.

I have used Fortran F77 extensively for a variety of programming
tasks: accounting, demand reporting, games, puzzle solving,
sociological research, hotel management, process control, nuclear
physics modelling, decompiling and program charting, and many others;
actually not that much number crunching other than matrix operations
and linear programming and cost optimising.
Show full article (1.00Kb)
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: Catherine Rees Lay
Date: Sep 5, 2008 02:28

kronecker@yahoo.co.uk wrote:
> On Aug 22, 10:39 pm, Praveen.Kumar.Jaya...@gmail.com wrote:
>> Hi,
>>
>> How to create a folder if it doesn't exist using FORTRAN 77 language?
>>
>> Regards,
>> Praveen
>
> Use a real programming language. Fortran is for number crunching only.
>
> K.D

And real programmers writing number crunching code never need to output
their data to files located in meaningful places on the disk. They just
memorise it as it flashes past on the screen. (end sarcasm mode).

--
Catherine Rees Lay
Show full article (0.70Kb)
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: Gary Scott
Date: Sep 5, 2008 10:16

Catherine Rees Lay wrote:
Show full article (1.09Kb)
no comments
Re: How to create a new folder in FORTRAN 77?         


Author: Nathan Seese
Date: Sep 12, 2008 21:02

> On Fri, 22 Aug 2008 11:46:01 +0000 (UTC), Dave Seaman
> wrote:
>
>>On Fri, 22 Aug 2008 03:39:23 -0700 (PDT),
>>Praveen.Kumar.Jayaram@gmail.com wrote:
>>> Hi,
>>
>>> How to create a folder if it doesn't exist using FORTRAN 77 language?
>>
>>Nobody had heard of "folders" on computers when the Fortran 77 standard
>>was written.
>
> Very few heard of "folders" even when the '90 standard was written ;-)
>
> Best regards
> digas

Hell, very few people who use Fortran have heard of folders.

--
This message brought to you by Water(TM)
1 Comment
Re: How to create a new folder in FORTRAN 77?         


Author: Gary Scott
Date: Sep 12, 2008 22:51

Nathan Seese wrote:
>>On Fri, 22 Aug 2008 11:46:01 +0000 (UTC), Dave Seaman
>> wrote:
>>
>>
>>>On Fri, 22 Aug 2008 03:39:23 -0700 (PDT),
>>>Praveen.Kumar.Jayaram@gmail.com wrote:
>>>
>>>>Hi,
>>>
>>>>How to create a folder if it doesn't exist using FORTRAN 77 language?
>>>
>>>Nobody had heard of "folders" on computers when the Fortran 77 standard
>>>was written.
>>
>>Very few heard of "folders" even when the '90 standard was written ;-)
>>
>>Best regards
>>digas
> ...
Show full article (1.05Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: Strange DLLs created into program foldermicrosoft.public.dotnet.languages.vb ·
1 2