home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Point Programming 1
/
PPROG1.ISO
/
pascal
/
swag
/
hardware.swg
/
0040_Sending Data to the Parallel Ports.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1995-03-26
|
271 b
|
13 lines
{
> I would like to send one byte of data to the parallel port so I can test
> an interface. What is the easiest way to do this?
}
Program Send_A_To_LPT1;
Var
PrinterPort:Array[1..4] Of Byte Absolute $40:$8;
Begin
Port[PrinterPort[1]]:=Ord('A');
End.