Restore

Category: Keywords

Syntax:

Restore:Void()



Returns

Void



Summary

Sets where the next Read starts in the Data

View detailed documentation online



Example
.colours
Data "Red", "Green", "Blue"

Function Main()
    Local c:String
    Read c
    Print c              ; Red
    Restore colours
    Read c
    Print c              ; Red again
    Return 0
EndFunction

BambooBasic © 2026 Michael Denathorn