statement/LOCATE statement/LOCATE NAME LOCATE -- Changes pixel cursor position ABBREVIATION lo <shift> C SYNOPSIS LOCATE <x>,<y> FUNCTION The LOCATE command lets you put the pixel cursor (PC) anywhere on the screen. The PC is the current location of the starting point of the next drawing. Unlike the regular cursor, you can't see the PC, but you can move it with the LOCATE command. You can find out where the PC is at any time by using the RDOT(0) function to get the x-coordinate and RDOT(1) to get the y-coordinate. The color source of the dot at the PC can be found by printing RDOT(2). (In all drawing commands where a color option is available, you may select a value from 0 to 3, corresponding to the background, foreground, multicolor 1, or multicolor 2 as the color source.) INPUTS <x> - scaled x coordinate <y> - scaled y coordinate RESULT Puts the pixel cursor at the given position. EXAMPLES LOCATE 160,100 Positions the PC in the centre of the high resolution screen. NOTES None BUGS None SEE ALSO BOX CIRCLE DRAW GRAPHIC PAINT RDOT()