[kepler-dev] string parameters

Edward A. Lee eal at eecs.berkeley.edu
Thu Jan 24 20:01:26 PST 2008

The syntax to reference another parameter inside a string parameter
is $name or ${name}.


At 07:50 PM 1/24/2008, Izabell Caraconcea wrote:
>Hi All,
>I have created an actor with a parameter of type StringParameter. I'm using it in a model and the model itself has a string parameter. I would like to pass the value of the model's parameter to the actor's parameter. I've tried all available methods to get the value of the actor's parameter. They work fine when the value is set to a string ( e.g. to "abc") and the actor behaves the way it is supposed to. When I configure the actor's parameter to be initialized from the string parameter of the model, all methods return the variable name and not the value. 
>Say the string parameter of the model is called PM and its value is "abc". When my actor fires the value of its parameter becomes "PM". I need it to be "abc". 
>Could you explain me what's wrong and how to fix the error?
>Thank you,
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org

Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://www.eecs.berkeley.edu/Faculty/Homepages/lee.html  

More information about the Kepler-dev mailing list