< Futurebasic < Language < Reference

LOCATE

Syntax

LOCATE h,v

Description

This statement moves the pen position in the current output window to text column h and text row v, based on the current font family and font size. The pen's horizontal placement is based on an "average" character width; you can't count on this position to encompass exactly h characters unless you are using a mono-spaced font. LOCATE 0,0 places the pen at the upper-leftmost character position in the window.

See Also

CSRLIN; POS

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.