11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

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

1-545 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

status = OpenXMLData(“STUDENT_XML”,<br />

“_XML_/MYSTUDENT.ext”,STUDENT_XML_DATA)<br />

If status = XML.ERROR THEN<br />

STOP “Error when opening the XML document. “<br />

END<br />

IF status = XML.INVALID.HANDLE THEN<br />

STOP “Error: Invalid parameter passed.”<br />

END

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

Saved successfully!

Ooh no, something went wrong!