Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

null

Note: Always call the Get_Status function after calling Repository.

See also

Repository() functionDESTROY methodGet_Repos_Entities().

Example

Code Block
* Destroy the BTREEREADTEST_BACKUP form, and entities used by it (window events) */
Declare Function Repository, Get_Status
AppID = @APPID<1>  ;* current application
TypeID = "OIWINEXE"  ;* OpenInsight window executable
ClassID = ""  ;* Not Applicable
Window_Name = 'BTREEREADTEST_BACKUP'
entid = AppID : '*' : TypeID : '*' : ClassID : '*' : Window_Name
result = Repository("TDESTROY",  entid)
/*  the form and its associated events have been destroyed */
*  test result
If Get_Status(ErrCode) then
   call msg(@window, 'Error Message returned: ' : ErrCode)
end