Is there a maximum length for the name (or the .prg filename) for user defined procedures in user defined objects? - If this is the case, could you make sure that Eviews gives the author some kind of warning? I may be mistaken but it appears that Eviews simply ignores calls to procedures that have a rather long, but not unreasonably long, name.
I put together an example for you:
The .ini file:
Code: Select all
[constructor]
".\TestObject construct.prg"
[views]
[procs]
"testlong", ARatherLongProcedureName, ".\ARatherLongProcedureName.prg"
"testshort", ShortName, ".\ShortName.prg"
When I use these procedures only the shortname procedure seems to work, the long one is silent. There is no error message, it simply skips the long procedure, while the short procedure produces the intented @uiprompt() message.
Code: Select all
WfCreate(wf=attempt, page=mypage) u 1
TestObject Ob
ob.ARatherLongProcedureName
ob.ShortName
