內容跳轉

BlitzMax/語言/註釋

來自 Wikibooks,開放世界的開放書籍

註釋是你程式程式碼中會被編譯器忽略的文字塊,但會提醒你程式碼如何工作。

BlitzMax 使用“'”字元支援單行註釋 - 例如

Print "Comment Test"   'Everything from the apostrophe (') character to the end of line is ignored.

也支援多行註釋,使用 RemEnd Rem - 例如

Rem
Blitzmax rocks!
An example of a multiline comment...
Multiline comments are useful for documenting and maintaining your code
End Rem
華夏公益教科書