SetMargins(left, right[, noclip])
leftargument specifies the left end of the margin and the
rightargument is the right end of the margin. Words exceeding those margins will automatically be wrapped to the next line.
The default setting for
left is 0 and for
right the default
setting is your display width minus 1.
By default, the margins you specify in
be clipped against the display's boundaries. If you don't
want that, you can set the optional
noclip argument to
left can also be less than 0 and
can be greater than the display width.
Trueif left and right edges of the margin shouldn't be clipped to the display's boundaries (V9.0)
SetMargins(200, 300) Print("Hello World. This is my first program using margins.")The above code defines the margins 200 and 300, which means that text output will only be made between pixels 200 and 300. Then it prints some text.