Skip to content

XML_CLOSE ​

XML_CLOSE closes a file that is currently imported or exported.

Syntax ​

leo-grammar
CC "Documentation" XML_CLOSE read | write

Parameters ​

  • read (modifier) - closes the current intput file (default).
  • write (modifier) - closes the current output file.

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success

Details ​

See Also ​

Examples ​

asc
CC "Documentation" XML_OPEN "outputfile.xml" write
CC "Documentation" XML_OPEN "inputfile.xml"
CC "Documentation" XML_CLOSE write
# now the file "inputfile.xml" is opened, the file "outputfile.xml" closed.

Versions and Changes ​

Available since ADOxx 1.3