If condition error BC33104

can anyone check this error pls…

Hi @bhavana_kolli ,

The Statement is incomplete, we would also need an Else part :

if(temp<15,"1","")

But also it seems you require an Integer value, so maybe the below is required :

if(temp<15,1,-1)

Do note that we do not know the complete details of what you are trying to perform scoped to the Switch case.

@bhavana_kolli

First the required argument is integer so it shpuld be 1 insteqd of "1"

Also if structure is If(condition,true statement,false statement)

So you can use If(temp<15,1,0)

Assuming temp is a integer type variable

Cheers