• Description:
    Comments can be used for notes in a programm, it can improve program reading. If PowerD can be comments used nearly everywhere You like. PowerD knows two types of comments. First (same as in E or C/C++) begins with '/*' and ends with '*/'. Such comment can be used practicaly everywhere. Second comment starts with '//' (like in C++) or with '->' (like in AmigaE). Everything on the line after this will be ignored by compiler.
    All these comments can be used recursively.

  • Examples:
      // this is a comment
      
      PROC main(/* this is another comment */)
        PrintF('Hello World!\n')  // next comment
      ENDPROC
      -> this is AmigaE compatible comment