Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
lenguaje de programación
Historia
Versiones
Algunas otras versiones subsiguientes
fueron:
FORTRAN II
FORTRAN IV
FORTRAN 66
FORTRAN 77
Fortran 90
Fortran 95
Fortran 2003
Fortran 2008
Principales características
El lenguaje fue diseñado teniendo en
cuenta que los programas serían escritos
en tarjetas perforadas de 80 columnas.
Así por ejemplo, las líneas debían ser
numeradas y la única alteración posible
en el orden de ejecución era producida
con la instrucción goto. Estas
características han evolucionado de
versión en versión. Las actuales
contienen subprogramas, recursión y una
variada gama de estructuras de control.
Ventajas e inconvenientes de
su sintaxis
Como fue una primera tentativa de
creación de un lenguaje de programación
de alto nivel, tiene una sintaxis
considerada arcaica por muchos
programadores que aprenden lenguajes
más modernos. Es difícil escribir un
bucle "for", y errores en la escritura de un
solo carácter pueden llevar a errores
durante el tiempo de ejecución en vez de
errores de compilación, en el caso de
que no se usen las construcciones más
frecuentes. Algunas de las primeras
versiones no poseían facilidades que son
consideradas muy útiles, tal como la
asignación dinámica de memoria.
Especificaciones
Existen dos versiones normalizadas del
lenguaje.
ANSI X3.198-1992 (R1997). Título:
Programming Language "Fortran"
Extended. Conocida como Fortran 90.
Se trata de un estándar publicado por
ANS.l..
ISO/IEC 1539-1:1997. Title: Information
technology - Programming languages -
Fortran - Part 1: Base language.
Conocida como Fortran 95. también
adoptada por ANSI.
OPEN(1,FILE='HISTORIA.txt'
)
I=0
10
READ(1,*,END=80)T,P
I=I+1
TIEMPO(.l.)=T
PROD(I)=P
GO TO 10
80 NDATOS=I
CALL
AJULIN(TIEMPO,PROD,NDATOS,
A,B)
WRITE(*,90)A,B
90 FORMAT('LA
ECUACION
ES:Y=',F10.2,'+',F10.2,'X'
)
20 FORMAT(20F10.0)
END
SUBROUTINE
AJULIN(X,Y,N,A,B)
DIMENSION
X(1),Y(1)
SUMX=0.
SUMY=0.
SUMX2=0.
SUMY2=0
SUMXY=0
DO 20 I=1,N
SUMX=SUMX+X(.l.)
SUMY=SUMY+Y(.l.)
SUMX2=SUMX2+
(X(I)*X(.l.))
SUMY2=SUMY2+Y(I)**2
SUMXY=SUMXY+
(X(I)*Y(I))
20 CONTINUE
PROD=SUMX*SUMY
B=(SUMXY-
PROD/N)/(SUMX2-SUMX**2/N)
A=(SUMY/N-
B*SUMX/N)
RETURN
END
Referencias
1. Los nombres de las versiones
anteriores a FORTRAN 77 son
convencionalmente escritas con
todas las letras en mayúsculas
(FORTRAN 77 was the version in
which the use of lowercase letters in
keywords was strictly nonstandard).
The capitalization has been dropped
in referring to newer versions
beginning with Fortran 90. The
official language standards now refer
to the language as "Fortran." Because
the capitalisation (or lack thereof) of
the word FORTRAN was never 100%
consistent in actual usage, and
because many hold impassioned
beliefs on the issue, this article,
rather than attempt to be normative,
adopts the convention of using the
all-caps FORTRAN in referring to
versions of FORTRAN through
FORTRAN 77 and the title-caps
Fortran in referring to versions of
Fortran from Fortran 90 onward. This
convention is reflected in the
capitalization of FORTRAN in the
ANSI X3.9-1966 (FORTRAN 66) and
ANSI X3.9-1978 (FORTRAN 77)
standards and the title caps Fortran
in the ANSI X3.198-1992 (Fortran 90),
ISO/IEC 1539-1:1997 (Fortran 95)
and ISO/IEC 1539-1:2004 (Fortran
2003) standards.
2. Since FORTRAN 77, which introduced
the CHARACTER data type.
3. Since FORTRAN II (1958).
4. http://www.top500.org/project/linpa
ck
5. http://www.softwarepreservation.org
/projects/FORTRAN/index.html#By_F
ORTRAN_project_members
6. Fortran creator John Backus dies -
Gadgets - MSNBC.com
Enlaces externos
Fortran DMOZ category
User notes on Fortran Programming
(UNFP)
Unit 7.1 FORTRAN 77 , part of a
textbook
Unit 7.2 FORTRAN 90 , part of a
textbook
g95 Compilador GNU de Fortran 95
multiplataforma , software libre,
basado en GCC
GFortran, compilador de Fortran 95 de
GNU , software libre, parte del proyecto
de GCC
Repositorio de paquetes Debian de
g95 , (página en inglés)
Página en español sobre G95 , incluye
manual en español en pdf. "site" no
oficial
Proyecto Fortress
Recursos de programación
Datos: Q83303
Multimedia: Fortran
Obtenido de
«https://es.wikipedia.org/w/index.php?
title=Fortran&oldid=117340083»