Types
NUMBER
A number: an INTEGER or a FLOAT, whichever you have.
TYPE NUMBER
END TYPE
Example
SCREEN 320, 240
FUNCTION half(n AS NUMBER)
RETURN n / 2
END FUNCTION
PRINT half(3), half(2.5)
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help