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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -