on 11-07-2008 7:05 AM
Hi everybody,
how can I read a variable within a UDF in 7.1?
does not help
Thanks
Regards Mario
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you defined a variable in your target structure and wish to use this variable in some user defined function, then you should just use it as a regular parameter to this user defined function!
Remember you can drag your target nodes to the current mapping of a given node - this also includes variables.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
my purpose was to read the variable directly in the UDF.
The way you mention is to read it (via drag&drop) and treat it as an UDF-inputparameter .
As my UDF already has already 8 inputvariables I am looking for a way to reduce the the inputparameters via reading the variables directly in the UDF.
Thanks
Regards Mario
Hi,
This is not possible as per my understanding. Also, I don't see why you would wanna do it that way. You then make it less apparent what is happening in your function.
But you can always use the Java Area in a similar way as previous releases to create global variables and then set/get their values using simple user-defined functions. This way u can achieve what u want.
Regards,
Daniel
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.