NetLogo: more than one boolean in ifelse-value

289 Views Asked by At

for one variable in my System Dynamics Model in NetLogo i would like to have more than one boolean in my ifelse-value.

I tried it with the following code that I used as the expression for the variable.

(ifelse-value
    quality = 100 [ 1.1 ]
    quality = 80 [ 1.4 ]
    quality = 60 [ 0.8 ]
               [ 0.7 ])

I got the following error:

IFELSE-VALUE expected 3 inputs, a TRUE/FALSE, a reporter block and a reporter block. 

What am I doing wrong?

0

There are 0 best solutions below