What it does
SyncRate writes a value: it sets rather than reads. It takes fps (a float) and mode (an integer), and returns nothing.
Syntax
SyncRate(fps float, mode integer)Parameters
| Name | Type |
|---|---|
| fps | float |
| mode | integer |
Every form returns
nothing
Example · generated
SyncRate(1.0, 1)DO Sync()LOOPSyncRate is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.