[mod.computers.vax] pascal and ast routines

JOHNSON%nuhub.acs.northeastern.edu@RELAY.CS.NET ("I am only an egg.") (10/28/86)

     I realize that this is somewhat vague, but does anybody know of any 
reason why a mailbox ast routine written in PASCAL should not work 
properly.

     1 ... I am NOT using IO$M_NOW..

     2 ... When the mailbox is NOT open by another program, continuous
           read ast deliveries are made to the reading routine
           which is written in pascal.

     3 ... When the mailbox is open by another user for writing, the 
           read routine waits in LEF state at the mailbox read ast 
           routine, regardless of the mailbox having been written too.  
           I believe theory states that I should ONLY get to the ast 
           routine when a write has happened if IO$M_WRTATTN has been 
           declared when setting up the ast.

     3 ... I can get the SAME logic to run flawlessly, as advertised by 
           DEC, in both FORTRAN and MACRO.

     I definately get wierd results when doing this mailbox ast routine in
PASCAL and have no idea why.