I need to look at the value of the string variable for each entity to determine which distribution to use to assign my next variable. I cannot figure out how to do this, I either get the error that Symbol name "if" is a reserved name, or I get "invalid expression the value entered must be in the form of a mathematical or logical expression. String values are entered by enclosing a sequence of characters in quotation marks."
Maybe I am using the wrong format, or I am not allowed to write such complex statements in the new value field of the assign block. I currently have:
if(Scale == "200pm")
{disc(.18848,5, .24315,2,1,1); }
else
if(Scale == "100nm")
{disc(.01347,5, .0756,4,.15225,2,1,1);}
else
{disc(.08429,5,.13,2,1,1)};