LOCATE
Jump to navigation
Jump to search
Description
- Locate is used to position text in the mainwin.
Syntax
- locate x, y
Hints
- Top left corner is 1, 1.
- If you are porting QBASIC code, it has x, y reversed.
- See the TAB() function for formatting text in columns in a mainwin.
Example
' The text position is by x and y coordinates, which
' represent columns and rows - not screen pixels.
print
print
print "I agree to the proposed rules changes."
locate 15, 6
print "________________________"
locate 21, 8
print "Signature"
end
Useful Procedures
' Place a useful function or sub using this keyword here