Blitz3D+ Command Reference

WorldDocumentError$ ( )

Parameters

None.

Description

Returns the most recent actionable WorldDocument error.

The error belongs to the current runtime context and includes failures that could not return a document handle.

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

Requires Extended mode.

See also: WorldDocumentLastDiagnostics, WorldDocumentDiagnostics, LoadWorldDocument.

Example

; WorldDocumentError Example - Extended mode
document=LoadWorldDocument("missing-world-document.world")
If document=0 Then Print WorldDocumentError()
If document<>0 Then FreeWorldDocument document
End

Index