WorldDocumentPath$ ( document )
Parameters
| document - world document handle |
Description
|
Returns the file path adopted by a world document. The path is absolute, or an empty string for an untitled document. For the full story, see the Debug World Editor guide. Requires Extended mode. See also: SaveWorldDocument, WorldDocumentDirty. |
Example
; WorldDocumentPath Example - Extended mode document=LoadWorldDocument("../../../samples/world-editor/starter.world") If document=0 Then RuntimeError WorldDocumentError() Print WorldDocumentPath(document) FreeWorldDocument document End
Index