Blitz3D+ Command Reference

FreeWorldDocument document

Parameters

document - world document handle

Description

Releases a world document handle and its retained diagnostics.

JSON snapshots and validation reports already returned to the caller remain caller-owned.

For the full story, see the Debug World Editor guide.

Requires Extended mode.

See also: CreateWorldDocument, LoadWorldDocument.

Example

; FreeWorldDocument Example - Extended mode
document=CreateWorldDocument("temporary","Temporary")
If document=0 Then RuntimeError WorldDocumentError()
FreeWorldDocument document
Print "Document released"
End

Index