🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.prolog
Article #765

Turbo Prolog and MS Fortran

#765
From: IFY
Date: Tue, 16 Sep 1986 20:21
16 lines
1179 bytes
     
Has anyone tried to interface Turbo Prolog to MS Fortran using the
global predicate specification in Turbo Prolog and the ALIAS option
in MS Fortran.  I have tried different ways to get Turbo Prolog to
pass an integer to MS Fortran and then for the MS Fortran to simply
add a constant to it and return it to the Prolog program.  The program
compiles and appears to execute fine but the numbers are always wrong.
Not only are they wrong but no matter what number I have Prolog pass
to the Fortran subroutine, it returns the same wrong value regardless.
Seems things aren't popping off or being pushed on the stack properly.
Any ideas on what is going on and how to remedy this problem?
     
On BITNET:  ify at psuvm
     
     
Technical Details
Message-ID: <7434IFY@PSUVM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!qantel!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!ify

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!qantel!hplabs!sdcrdcf!burdvax!psuvax1!psuvm.bitnet!ify
From: IFY@PSUVM.BITNET
Newsgroups: net.lang.prolog
Subject: Turbo Prolog and MS Fortran
Message-ID: <7434IFY@PSUVM>
Date: Tue, 16-Sep-86 16:21:32 EDT
Article-I.D.: PSUVM.7434IFY
Posted: Tue Sep 16 16:21:32 1986
Date-Received: Fri, 19-Sep-86 23:07:47 EDT
Lines: 16