home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
pc
/
opus
/
opin103d.lzh
/
D_COM2.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-12-03
|
3KB
|
55 lines
Program Demo_Com2;
{***************************************************************************}
{* *}
{* O p u s I n t e r f a c e V e r 1.03 Demo Program. *}
{* *}
{* Opus V 1.0x Interface for Turbo Pascal Ver 4.0, 5.0 and 5.5 *}
{* *}
{* These Structures,Procedures and Functions may help you to make OPUS *}
{* utilities for to help other SysOps, Please read the Documentation. *}
{* *}
{* Regards *}
{* Per Holm *}
{* *}
{* FIDO: Per Holm - Asgaard BBS 2:230/22.0 *}
{* UUCP: perholm@daimi.DK *}
{* *}
{***************************************************************************}
{***************************************************************************}
{* *}
{* Demo of the level 4 communication routines... *}
{* *}
{***************************************************************************}
Uses
OPINT;
VAR
c:char;
i: Integer;
Line: String[80];
BEGIN
_Snoop:=_On; { Look at this... }
_KeyBoard:=_On; { Enable Keyboard }
_ExitCarrier:=0; { Don't exit on Carrier change }
UseInOut(0,0); { Use the Textfile device drv. }
i:=IoResult;
IF i>0 THEN
BEGIN
Writeln('Error with the Fossil : ',i);
Halt(i);
END;
WriteLn('Hi Johnny, Enter a line of text');
Readln(Line);
Writeln('OK here we go : "',Line,'"');
write('Thanx Press Enter');
repeat
until Readkey=#13; { Note the ReadKey Function works too }
writeln;
UnUseInOut;
Writeln('Normal Skaerm');
END.