Maptitude GISDK Help

CloseFile()

Summary

Closes a file.

 

Syntax

CloseFile(file f)

 

Argument Contents
f The handle of the file to be closed

 

Example

fptr = OpenFile("report.txt", "w")

fptr = WriteLine(fptr, "The Macro ran successfully.")

CloseFile(fptr)

 

Error Codes

Error Type Meaning
Error File is not open

 

See Also

Function Summary
OpenFile() Opens a text or binary file on disk

 

 

©2025 Caliper Corporation www.caliper.com