admin wrote:Agreed. That's why I said: If you find another case like writefile let me know.
Hm: is this comparable?
If a script calls User Functions that don't exist it works "without problem". That is: the calls are taken as strings and silently returned.
What happened? For debugging another error in preprocessing(!) I commented an include. The error turned out to be a missing single quote. After correcting the quote I forgot to re-enable the include. The script worked without showing any problem. But the result was lkgfvcnkj.
Debug showed that the calls to now unknown functions were taken as (unquoted) strings, handled literally...
So I'd expect a construct
name( should always be seen as a function call, and if the function is unknown it's an error and should be reported.
For reporting: maybe, especially for users running scripts of other persons, it would be fine if script errors would be shown in an explicit "Error Dialog", with options like "Terminate(Default)", "Analyze(=Step)", "Contine(handle with care!)"
-----
On Topic
No time to test caller('label') till now
Edit: To stop

I installed curr beta, and tried Try Script with:
Code: Select all
"Dieses Script : DS"
echo self('Caption') . " : " . self('label');
Thanks a lot - that will help me!
