11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CloseXMLData<br />

Syntax<br />

CloseXMLData(xml_data_handle)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

The CloseXMLData function closes the dynamic array variable for an XML<br />

document.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

xml_data_handle The name of the XML data file handle created by the OpenXMLData<br />

function.<br />

CloseXMLData Parameters<br />

The return value is one of the following:<br />

Example<br />

XML.SUCCESS Success<br />

XML.ERROR Failure<br />

XML.INVALID.HANDLE2 Invalid xml_data_handle<br />

The following example illustrates use of the CloseXMLData function:<br />

status = CloseXMLData(STUDENT_XML)<br />

CloseXMLData 1-156

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!