Data

Category: Keywords

Syntax:

Data:Void()



Returns

Void



Summary

Holds a list of values for Read to take, in order

View detailed documentation online



Example
.level1
Data "The Meadow", 8, 4
.level2
Data "The Cave", 10, 5

Function Main()
    Restore level2
    Local name:String, w:Int, h:Int
    Read name, w, h
    Print name & " " & w & "x" & h      ; The Cave 10x5
    Return 0
EndFunction

BambooBasic © 2026 Michael Denathorn