Category : Miscellaneous Language Source Code
Archive   : HF0258.ZIP
Filename : AMAIN.FOR

 
Output of file : AMAIN.FOR contained in archive : HF0258.ZIP
C******* The main program (A) ******
C This program reads a character through an assembly
c routine without having to press the ENTER key

Program test
character*1 char1,getch

print*,'enter a character: '
char1=getch()
print*,'entered character= ',char1

stop
end

C*******************************


  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : HF0258.ZIP
Filename : AMAIN.FOR

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/