Skip to content
Narta Xaymar Dirks edited this page Oct 27, 2026 · 1 revision

Blitz3DBlitzPlusBlitzBasic

Handle

Handle(object)
Handle:Int32(object)

Description

Converts an object of a custom type to an integer that stands for it, which can be stored in a Bank, a file or passed to code that only knows numbers. Object converts it back. Every object has the same handle for as long as it exists.

Examples

Type Thing
	Field n
End Type

t.Thing = New Thing
t\n = 7
h = Handle(t)
u.Thing = Object.Thing(h)
Print u\n
Print Handle(t) = h
7
1

Related Commands

Float, Half 〔BlitzLLVM〕, Int, Long 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally