Function that will open the project specified by the XPJ path. The function will then load the current project into the global variable currentProject.
Note: Always use this function or the function openprojectdialog() to open a project. This ensures that the global variable
currentProject is set. If this variable is not set, several functions in the library may not work as expected.
var xpjpath = "C:/My project/My project.xpj"; openproject(xpjpath);
|xpjpath||string||true||The full path to the project XPJ|
|updateifrequired||boolean|| If set to
|true||The project was opened|
|false||The project could not be opened|