Page 1 of 1

Deleting user-specified object

Posted: Wed Dec 14, 2016 4:39 am
by KrilleJ
When I try to delete a registered user-specified object I get different results when I do it via the Proc meny and via the command line.

In my .ini file, that defines the structure of the user-sepcified object, I have

Code: Select all

[procs] "Delete object", delete, ".\DeleteObject.prg"
The DeleteObject.prg file reads:

Code: Select all

%objName=_this.@name delete {%objName}
When executed from inside the created object (call it MyCreatedObject) via "Proc > Delete object" everything is ok. But when typing MyCreatedObj.delete in the command window, EViews crashes.

Can you give me any clue to what I am missing?

Best,
Kristian