divide
Purpose
Division operator /
Description
This is the opposite of the multiplication operator. The result is the number of times you can subtract the second number from the first.
Syntax
result = number1 / number2
Arguments
result number1 divided by number2
number1 first number
number2 second number
Example
message = "Hello World"
for size = 1 to 200 step 1 loop
clear()
textSize( size )
tw = textWidth( message )
drawText( ( gWidth() - tw ) / 2, ( gHeight() - size ) / 2, size, white, message )
update()
repeat
Associated Commands