Zimbu
範例
Hello World程式:hello.zu:
FUNC int MAIN()
IO.write("Hello, World!\n")
RETURN 0
}
另一個範例:
FUNC MAIN() int
VAR pipe = THREAD.eval({ => "Hello from the thread" })
# Do something else
IO.writeLine(pipe.read())
}
外部連結
- Zimbu首頁 (页面存档备份,存于)
- Google code首頁 (页面存档备份,存于)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.