🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.lang.prolog
1 messages
1 total messages Started by IFY Tue, 16 Sep 1986 20:21
Turbo Prolog and MS Fortran
#765
Author: 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
     
     
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads