|
|
#1 01-01-2023 15:40:30
- plore90
- New member
-
(Hover for details) - Registered: 16-11-2020
- Posts: 3
- Reputation : 0
STRANGE COMPILER ERROR PROSPERO PRO FORTRAN 1.2 CP/M-80
Hi all, I installed the Super Brain emulator on my pc (Windows 10 pro 64b). It all works fine. I then Have imported on drive B: the directory Language and copied all the Prospero PRO Fortran v. zz 1.2 (cp/m-80 version) compiler files (Downloaded from here, Sydex 3.5) . I tried compiling various .FOR sources and everything worked fine. I then created a simple COMPLE.FOR program where I defined 3 variables A, B, Z of type complex and then I made the simple sum Z=A+B and then printed the result. When I launch the PROFOR compiler COMPLE.FOR appears after Pass 1 without errors, Pass2 which gives me "Error E at address 1D5F Continue Y/N?". This happens only if in the program there are arithmetic operations (+,-,*,/) between complex variables, if in the program operations of addition, subtraction, multiplication or division are not performed between complex variables, but all the other mathematical operations and trigronometric functions on complex variables everything compiles fine. The error appears only if there are basic arithmetic operations. Any help and suggestion is welcome from all.
PROGRAM COMPLE
IMPLICIT REAL (A-H,O-Z)
COMPLEX A,B,Z
Z = (0.0, 0.0)
A = (3.5, 3.5)
B = (4.0, 5.0)
Z = B + A
WRITE(1,10) A, B, Z
10 FORMAT(1H ,2F11.3,2H ,2F11.3,2H ,2F11.3,//)
PAUSE
STOP
END
#2 27-03-2023 20:49:12
- plore90
- New member
-
(Hover for details) - Registered: 16-11-2020
- Posts: 3
- Reputation : 0
Re: STRANGE COMPILER ERROR PROSPERO PRO FORTRAN 1.2 CP/M-80
Hi all, finally the problem is solved...The member of these two forums, Martin Hepperle, found a brilliant and perfectly working solution, here are the two links to the solution...
https://forum.vcfed.org/index.php?threa … 0.1241152/
https://forum.classic-computing.de/foru … post407059
Greetings to all...
Most Active Users
Board information
Powered by Agora 1.0.4 Acropolis
© Copyright 2007 - 2008 Joomla Me!. All rights reserved.
[ Generated in 0.021 seconds, 23 queries executed ]