Retourner au contenu associé (dépêche : Le language de programmation ooc sorti en version 0.2)
Posté par アントニ ドミ le 26 juin 2009 à 19:15. En réponse à la dépêche Le language de programmation ooc sorti en version 0.2. Évalué à 3.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: hello world?
Posté par アントニ ドミ . En réponse à la dépêche Le language de programmation ooc sorti en version 0.2. Évalué à 3.
/** The world must be getting tired of being said hello */
func main {
printf("Goodbye, world !\n");
new Bomb.start;
}
class Bomb {
func start {
for(Int i: reverse 1..11) {
printf("%d...", i);
fflush(stdout);
Time.sleepSec(1);
}
printf("BOOM!\n");
}
}