Category: Keywords
Syntax:
Byte:Type()
Type
A whole number from 0 to 255, in one byte
View detailed documentation online
Global buffer:Byte[2048]
Local f:Int = fileReadFile("level.dat")
Local got:Int = fileReadBytes(f, buffer, 2048)
fileCloseFile(f)
Local first:Int = ToInt(buffer[0])
Print "First byte: " & ToString(first)
BambooBasic © 2026 Michael Denathorn