For this, I salute Till Warweg. I am simply
passing along what he told me.
In WAA, all of the code you write for a website goes into a
DLL. Consequently, if you wish to eval a codeblock which will
be macro compiled at runtime, and said codeblock contains
functions you have written, you will need to take an additional
step so that the WAA executable will be able to locate your
function. Here is what Till told me:
The problem actually is very simple:
the WAA loads your DLL using a prefix. This allows the WAA to
define separate name spaces for its package DLLs.
Therefore, in order to make your code block work, you've got
to put the DLL prefix in front of the function call. Otherwise, the
function won't be accessible to macro-compiled (i.e. dynamic) code.
Example:
(...)
cCb := "{|| MYPACKAGEAssetName()}"
Eval( &(cCB) )
(...)
I hope this helps.
Best regards,
Till Warweg
Alaska Technical Support
And, yes, it did very much help.Thank you, Till.