if (/^\w/).match(articles).to_s.upcase == 'A'
    tmpCounts[1]='a'
  elsif (/^\w/).match(articles).to_s.upcase == 'B'
    tmpCounts[1]='b'
  elsif (/^\w/).match(articles).to_s.upcase == 'C'
    tmpCounts[1]='c'
  else
    tmpCounts[1]='d'
  end


是elsif


if var == 10

  printf("lala")

end


if else end

if var == 10
   print "10″
else
   print "not 10"
end




arrow
arrow
    全站熱搜

    igogo 發表在 痞客邦 留言(0) 人氣()