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!

Old Programmer trying to migrate f77 to f95

Status
Not open for further replies.

italosmedia

Programmer
Oct 13, 2011
1
GR
Hello Guys

I am really happy to have found people expert in this sector

i need some help

I was programming a design and calculations program for MacOs 9 in fortran 77 in the past

I did this with Absoft fortran 5


Now the version is Fortran 95 Absoft 11.1 And my program was deemed obsolete.



The program Was a Cad program . I designed it to draw shapes with mouse and then make calculations on it .



I combined C+ and fortran to achieve this and some PLOG libraries.

The issue i have is i cant migrate my program to f95 so as it will work on native OsX environment




I need some examples of a mouse interface main program + buttons .
That means i need a MAIN program dummy with interface / menus / and buttons so i can build on it


Is there any way i can find such thing? Does anyone have this thing?


Regards

Italos
 
I thought, that normally a f95 compiler should be able to compile f77 sources too.
Doesn't the recent Absoft Fortran compiler accept f77 sources?
 
What is PLOG? Do you have the website for this? The only one I can find is PHP related.

Are you looking for the mouse interface programs for tracking the mouse for rubber banding and marking out areas or is it just to know which button has been clicked? Do you want these examples in PLOG or will any other GUI package do?

F2003 has a C interface defined so interfacing with any C library is now more standardized than it was in F77. The syntax is necessarily simpler.
 
Just had a look at Absoft 11.1. It does F77. As long as the file extension is .f or .for, it will assume that it is a F77 program.
 
Just had a look at Absoft 11.1. It does F77. As long as the file extension is .f or .for, it will assume that it is a F77 program.

More exactly, Absoft 11.1 will assumed that a source file with the extension .f or .for is in F95 fixed format, f77 being (almost) a subset of f95 always written in fixed format.

François Jacq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top