Re: Does VB have something that can return just a column of a multi-column array?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi. The IMSL F90 Library came with the Digital FORTRAN from Compaq. I have
that also. I forgot I had it in this machine when I mentioned Microsoft's
compiler. Thanks for the code snippet.

--
George Hester
_________________________________
"dpb" <none@xxxxxxx> wrote in message news:g4bru2$4kt$1@xxxxxxxxxxx
George Hester wrote:
Yes. I used to program in FORTRAN on a VAX maybe that's why I think this
should be available. I just have to whip out my Power FORTRAN on one of
my
harddrives. It is installed there in Windows 2000 Prof. Do you have a
site
that shows how to begin to make a Windows dll with FORTRAN? I also have
the
IMSL F90 Library.
...

For which compiler do you have the IMSL library--MS PowerStation? I
wasn't aware it was supplied. If have an old 16-bit copy for MS F77 V5
but it wouldn't work w/ PowerStation and the 32-bit version that came
with Compaq (ne Digital) Visual Fortran (the successor of PowerStation
as MS let it go and DEC released DVF. Which was subsequently picked up
in the Compaq acquisition, the compiler group and technology sold to
Intel while HP retained CVF but no longer supports it. Hence my
statement elsewhere that Intel is the successor and the compiler which
most closely supports the DEC and MS extensions you may be used to).

From the CVF documentation the following code snippets give a view of
how little it actually takes code-wise--what you need is the equivalent
of the !DEC$ directives to control name-mangling and calling conventions
between the two. As I say, any current Windows compiler will have the
support in one fashion or another; I'm not at all sure about what
PowerStation included in that regard.

Array Passing Examples

The following example shows shows passing arrays:

Visual Basic code:

Basic declaration:
Declare Sub FortArray1 Lib "forttest" (A1 as Long, NumElem as long)
Dim A1(1:3) as Long
Call FortArray1(A1(1), 3)

Visual Fortran code:

Subroutine FortArray1 (Array1, N)
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS : "FortArray1" :: FortArray1
Integer array1(N)

--


.



Relevant Pages

  • Re: Baileys high-precision package
    ... >> As far as I know, MS Powerstation is not a Fortran 90 compiler. ... to the Digital successor to MS PowerStation; ...
    (comp.lang.fortran)
  • Re: Does VB have something that can return just a column of a multi-column array?
    ... It is installed there in Windows 2000 Prof. Do you have a site ... that shows how to begin to make a Windows dll with FORTRAN? ... If have an old 16-bit copy for MS F77 V5 but it wouldn't work w/ PowerStation and the 32-bit version that came with Compaq Visual Fortran (the successor of PowerStation as MS let it go and DEC released DVF. ... Which was subsequently picked up in the Compaq acquisition, the compiler group and technology sold to Intel while HP retained CVF but no longer supports it. ...
    (microsoft.public.vb.general.discussion)
  • Re: Baileys high-precision package
    ... Arjen Markus wrote: ... MS Powerstation 4.0 was a Fortran 90 compiler. ...
    (comp.lang.fortran)
  • Re: Cross Compiling...
    ... >about Compaq Fortran for Linux. ... Compaq offers a Fortran for Linux systems based on the ... but that is a separate compiler. ...
    (comp.lang.fortran)
  • Re: compilers: Compaq, Lahey, Intel
    ... on Compaq Visual Fortran to the Intel Fortran compiler and ... The Compaq compiler seemed sort of 'loose'. ... Would a transition from Lahey to Intel be difficult? ...
    (comp.lang.fortran)