Menu

#70 cant use an arg name in a sen/receieve object

open
nobody
None
5
2003-09-14
2003-09-14
No

I want to pass the name of the receieve object
dynamically to an instantiated template.

the template is

[myTemplate nameOfReceiveObject]

inside that template I use an [arg] and assign it the
default value of baba.

[arg 1 baba][nameOfMyArg]

the receiev object looks like this:

[r $nameOfMyArg]

the problem is that as soon as the [r] object is
instantiated, the GUI substitutes $nameOfMyArg
with "baba" ...... hence statically de-referenceing
$nameOfMyArg into its default value.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB