In Ptolemy, the Const actor is a Parameter. To refer to another parameter, first create the parameter and then change the Const value to the name of the parameter with no # For example, Drag a Parameter actor in Change the name to foo_bar Drag a Const actor in Change the value of the Const to foo_bar
StringConst extends Const but puts the value into string mode. There, you would use $foo_bar. To use a parameter value in MultiplyDivide, use the Const actor, but don't prepend the parameter with $. Also, be sure the parameter exists before trying to use it. Hope this helps. _Christopher -------- hi, i need to use the parameter in 'constant' actor but when i define value field as $parameter_name, it generates error. i think it is only accepts numeric values. Is it possible to set parameter value into constant actor? Or, how can i use the parameter value in 'Multiply or Divide' actor? Because i use the 'constant' actor to define the parameterm in it. best wishes, ufuk _______________________________________________ Kepler-users mailing list Kepler-users at ecoinformatics.org http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users --------