Parameters

Long attrib
The 1-byte HEX value of the attribute.
Long row
Row position of the attribute.
Long col
Column position of the attribute.
Long plane
The plane of the attribute to get. The plane can have the following values:

1 Text Plane

2 Color Plane

3 Field Plane

4 Extended Field Plane