Ada Programming/Libraries/Interfaces.Fortran – Wikibooks, open books for an open world
Computing » Laptop Science » Laptop Programming » Ada Programming

This language function is obtainable from Ada 95 on.
Interfaces.Fortran is a unit of the Predefined Language Surroundings since Ada 95.
Specification[edit]
with
Ada.Numerics.Generic_Complex_Types; -- see G.1.1pragma
Elaborate_All(Ada.Numerics.Generic_Complex_Types);package deal
Interfaces.Fortranis
pragma
Pure(Fortran);kind
Fortran_Integeris
vary
implementation-outlined;kind
Actualis
digits
implementation-outlined;kind
Double_Precisionis
digits
implementation-outlined;kind
Logicalis
new
Boolean;package deal
Single_Precision_Complex_Typesis
new
Ada.Numerics.Generic_Complex_Types (Actual);kind
Complicatedis
new
Single_Precision_Complex_Types.Complicated;subtype
Imaginaryis
Single_Precision_Complex_Types.Imaginary; i : Imaginaryrenames
Single_Precision_Complex_Types.i; j : Imaginaryrenames
Single_Precision_Complex_Types.j;kind
Character_Setis
implementation-outlined characterkind
;kind
Fortran_Characteris
array
(Constructivevary
<>)of
Character_Setwith
Pack;perform
To_Fortran (Merchandise :in
Character)return
Character_Set;perform
To_Ada (Merchandise :in
Character_Set)return
Character;perform
To_Fortran (Merchandise :in
String)return
Fortran_Character;perform
To_Ada (Merchandise :in
Fortran_Character)return
String;process
To_Fortran (Merchandise :in
String; Goal :out
Fortran_Character; Final :out
Pure);process
To_Ada (Merchandise :in
Fortran_Character; Goal :out
String; Final :out
Pure);finish
Interfaces.Fortran;
See additionally[edit]
Wikibook[edit]
- Ada Programming/Libraries/Interfaces
Exterior examples[edit]
- Seek for examples of
Interfaces.Fortran
in: Rosetta Code, GitHub or this Wikibook. - Seek for any put up associated to
Interfaces.Fortran
in: Stack Overflow, comp.lang.ada or any Ada associated web page.
Ada Reference Handbook[edit]
Ada 95[edit]
- B.5: Interfacing with Fortran (Annotated)
Ada 2005[edit]
- B.5: Interfacing with Fortran (Annotated)
Ada 2012[edit]
- B.5: Interfacing with Fortran (Annotated)
Open-Supply Implementations[edit]
FSF GNAT
- Specification: i-fortra.adverts
- Physique: i-fortra.adb
drake
- Specification: numerics/i-fortra.adverts
- Physique: numerics/i-fortra.adb