WaitRaster

Last Modified: 1/1/2021

Pauses execution until the TV draws the specified <ScanLine>.

Arguments

NameTypeRequiredDescription
ScanLine Integer Yes The scan line to resume program execution.
TvBlank System Identifier No Changes when the WaitRaster command ends.

Example

Syntax: WaitRaster <ScanLine> [,TvBlank]
    While 1
        Locate 1, 1: Print "Hello World!"
        WaitRaster 95
    Wend

Remarks

If TvBlank is used, execution will start at the horizontal blank of the next scanline.

See Also

Dalt, Halt, Sleep, Sleep2, Valt