Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 2

XorLineRel(XRel, YRel)

XORs a line a relative distance from the current X, Y position using the current drawing color.

You can give this function both positive and negative values.

Parameters

XRel - Number points to draw line in a horizontal direction
YRel - Number points to draw line in a vertical direction

Examples

BASIC

CALL XorLineRel(10, 10)

PASCAL

XorLineRel(10, 10);