comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL -> FORTRAN translator?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL -> FORTRAN translator? [message #4908] Fri, 25 August 1995 00:00 Go to previous message
Prof. Loren Meissner is currently offline  Prof. Loren Meissner
Messages: 1
Registered: August 1995
Junior Member
sjt@xuna.sr.bham.ac.uk (James Tappin) wrote:
...
> Whether it can be done at all (even by hand) depends on several factors,
> but essentially if your IDL code contains either of:

> 1) Arrays whose size is not known until some inputs have been given or
> calculations made

> 2) variables used as more than one type
> then there is little chance of being able to generate a fortran code to
> do the same thing without MAJOR restructuring -- unless F90 has things to
> do this.
>

F90 has allocatable arrays which SHOULD make #1 relatively easy.

F90 can handle "generic" variables ONLY AS PROCEDURE ARGUMENTS: you
can write a "user-defined generic procedure" in a module with a
separate specific procedure for each argument type: see "Programmer's
Guide to F90", second edition, p. 241 -- OR -- my "Fortran 90", p. 438
-- OR -- Ellis etal "F90 Programming", p.370.

- Loren Meissner
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Pvwave for Linux ?
Next Topic: Re: IDL -> Fortran: Summary

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:10:48 PDT 2025

Total time taken to generate the page: 0.00646 seconds