Fortran 90
Fortran 90 est une version du langage de programmation Fortran définie par la norme ISO/IEC 1539:1991[1]. Il s'agit d'une version majeure qui sera suivie par la version mineure Fortran 95 (ISO/CEI 1539-1:1997)[2]. La version actuelle est Fortran 2018 (ISO/CEI 1539-1:2018)[3].
Le Fortran 90 introduit dans Fortran les ajouts suivants :
- Noms jusqu'à 31 caractères (6 auparavant)
- Espaces significatifs même hors des libellés
- Les lignes peuvent aller jusqu'à 132 caractères (ligne d'imprimante de 11 pouces)
- Jusqu'à 39 lignes « suite » possibles
- Plusieurs instructions par ligne avec le « ; »
- « ! » utilisable comme signe de commentaire
- Inclusion de textes sources depuis des fichiers
- Constructions CYCLE / EXIT / WHILE / CASE
- Spécifications directes sur tableaux. Si A et B sont des tableaux, on peut écrire A=B*SIN(A)
- Gestion dynamique de mémoire, avec pointeurs
- Fonctions récursives
- Types définis par l'utilisateur
- Surcharge d'opérateurs et appels génériques
- Utilisation d'interfaces pour les sous-routines appelées
- Introduction des modules (espace de noms)
GNU Compiler Collection (GCC) permet de compiler du Fortran 90 à partir de la version 4.0 grâce à son compilateur GNU Fortran (gfortran).
Liens externes
- [PDF] Norme Fortran 90
- Compilateur GFortran
Notes et références
- ↑ [PDF] Standard Fortran 90.
- ↑ [PDF] Standard Fortran 95.
- ↑ [PDF] Standard Fortran 2018.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.