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

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -