OUT
Syntax
Section titled “Syntax”OUT <port number>, <value>Description
Section titled “Description”Sends the byte value to the given port.
Arguments must be a numeric expressions. Port will be converted to UInteger
and value will be truncated to UByte.
Examples
Section titled “Examples”REM Port 254DIM i AS UIntegerCLS
FOR i = 1 to 10000 OUT 254, iNEXTRemarks
Section titled “Remarks”- This function is 100% Sinclair BASIC Compatible
- If the given port is not of type
UInteger, it will be converted toUIntegerbefore operating with it. - If the given value is not of type
Ubyte, it will be converted toUBytebefore operating with it.