Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procedures and arrays

Status
Not open for further replies.

ggggg

Programmer
Apr 18, 2000
5
US
Can you tell me how can i insert procedure and arrays in this language?
 
hi
i think what you mean is to learn how to use an array and how to define it.
first of all at the beginning of your program, when you define your variables you should write your kind of variable, it's dimension , it's name.
for example:
INTEGER, DIMENSION(10) :: YOURARRAY
and about procedures: you don't have anything called procedure, you have FUNCTION AND SUBROUTINE AND MODULE
you can call a function with it's name ans a subroutine with CALL and a mpdule with USE.
for more help you can refer to fortran hep
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top