Last Modified: 1/1/2021
Pauses code execution for 1/60th of a second, or about 16.67 ms, for every <Interval> for NTSC consoles and 1/50th of a second for PAL consoles.
Name | Type | Required | Description |
Interval | Integer | Yes | The duration you wish to pause execution. |
TvBlank | System Identifier | No | Changes when the Sleep command ends. |
Syntax: Sleep <Interval> [,TvBlank] |
While 1 Locate 1, 1: Print "Hello World!" Sleep 1 Wend |