-
how to create temp variable inside $[]
if i use $[] for if how can i add temp variable there? my understanding is it is either condition or the return value. so how can i put the below logic into this? suppose i have only input x and the if else logic below.
$[x=`a;5; ?] if x = 'a' return 5 if x='b' y = x*x +5 if( y > 6 ) return 6 if(y>9) return 10
Log in to reply.