|
|
Up |
|
|
  |
Author: Praveen.Kumar.JayaramPraveen.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 |
|
  |
Author: Dave SeamanDave 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.
|
| |
|
| | no comments |
|
  |
Author: fjfj 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 |
|
  |
Author: Luka DjigasLuka 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 |
|
  |
Author: kroneckerkronecker 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 |
|
  |
Author: TerenceTerence Date: Aug 23, 2008 14:52
> 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 |
|
  |
Author: Catherine Rees LayCatherine Rees Lay Date: Sep 5, 2008 02:28
> 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 |
|
  |
|
|
  |
Author: Nathan SeeseNathan 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 |
|
  |
|
|
  |
Author: Gary ScottGary 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 |
  |
|
|
|
|
|