I’m very new at this and dont know much coding but i’m doing my best to learn. If you can please help with this.
Can this be done in python or OB2. I tried something by searching the forums and looking around but im doing something wrong.
BLOCK:Script
INTERPRETER:IronPython
INPUT @rs,@jk,@dg
BEGIN SCRIPT
if @rs > 20 and @jk > 12 and @dg > 30:
@dam = "yes"
else
@dam = "no"
END SCRIPT
OUTPUT String @dam
ENDBLOCK
I’m trying to convert something from OB1 to OB2 this is what i had working in OB1
#Dam Check
IF "<rs>" GreaterThan "20"
IF "<jk>" GreaterThan "12"
IF "<dg>" GreaterThan "30"
SET CAP "Dam" "Yes"
ELSE
SET CAP "Dam" "No"
ENDIF