73

Syntax Summary
XDEVICE & YDEVICE (see Chapters 9 & 12)
Use ODEXICE and YDEXICE are functions which retum the size of a graphics device,
in device pixels.
Syntax
XDEOICE[)[I/)stream-numberl)
YDEXICE[)[I/)stream-number))
XMETRES & YMETRES (see Chapters 9 & 12)
Use XMET’RES and YMETRES are functions which retum the size of a graphics device,
in metres.
Syntax
XMETRES[)[I/)stream-number))
YMETRES[I[I/)stream-number))
XMOUSE & YMOUSE (see Chapter 14)
Use These functions return the current position of the mouse pointer, in screen device
pixels.
Syntax
XMOUSE
YMOUSE
XPIXEL & YPIXEL (see Chapters 9 & 12)
Use XPIXEL and YPIXEL arefunctions which retum the size of a device pixel, in user
coordinates.
Syntax
XPIOEL[)[I/)stream-number))
YPI XEL[l[I/)stream-numberl)
XPLACE & YPLACE (see Chapter 14)
Use
XPLACE and YPLACE are functions which retum the position of the bottom left
hand corner of a window, in screen device pixels.
Syntax
XPLACE[l[I/)stream-numbor))
YPLACE[)[I/)stream-numborl)

XPOS & YPOS (see Chapters 9 & 12)
Use XPOS and YPOS are functions which retum the current cursor position, in user
coordinates.
Syntax
XPOS[l[I/)stream-numberl)
YPOS[l[I/)stream-numberl)
BASIC 2 PIus: User Guide & Quick Reference 73

73