java - Android elseif else won't process correctly -
extreme noob here, i'm trying export statements not strings within if else statement. how it's not working, please help.
if(number==0) { canvas.drawcolor(color.rgb(123, 214, 217)); } elseif(number==1) { canvas.drawcolor(color.rgb(121, 214, 217)); } else { canvas.drawcolor(color.rgb(54, 214, 217)); }
in javascript, syntax else if
, not elseif
.
Comments
Post a Comment