Pascal is not my strong language.
But shouldn't you declare FUNCTION AIFPORTOPEN; intrinsic;
instead of PROCEDURE since your expecting it to return a value?
Ah, here it is
function AIFPORTOPEN : integer; intrinsic;
from Example 3 - ASYNC1, asynchronous ports
in the programming examples of the AIF manual
http://docs.hp.com/mpeix/onlinedocs/36374-90013/36374-90013.html
Keven Miller
[log in to unmask]
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *