Ruby:语法简单上手;
# -- coding: UTF-8 --
puts "你好,世界!";
BEGIN{
print <<EOF
你好 #Chinese
Hello #English
こんにちは #Japanese
EOF
}
END{
print <<"bye"
Have a good time!
bye
}
# -- coding: UTF-8 --
puts "你好,世界!";
BEGIN{
print <<EOF
你好 #Chinese
Hello #English
こんにちは #Japanese
EOF
}
END{
print <<"bye"
Have a good time!
bye
}
puts HelloWorld