Unloads the files and data associated with a GPL project from memory.
Controller.Unload(project_name)
Prerequisites
No procedures in this project can be currently executing.
Parameters
project_name
A required string expression containing the name of the project to be unloaded.
Remarks
This method unloads a project by removing all of its associated data from the controller's memory and removing associated files from the GPL project memory area. This method throws an exception if any procedure in this project is executing. No exceptions are thrown if the project is not currently loaded or does not exist.
Examples
Dim th As Thread
Controller.Load("/flash/projects/Test")
th = New Thread("Main", "Test", "Thread2")
th.Start()
th.Join(0) ' Wait for thread to complete
Controller.Unload("Test")
See Also