• Tutorials

  • Home
  • GPDL Comments

    DungeonCraft Help Home

    Comments may be placed freely anywhere in a GPDL program. A comment begins with a double-slash ("//") and continues to the end of the line. Commonly a comment will be the only text on a line. Example:

    //This function computes the sum of its arguments.
    $FUNC summation(i, j) //Only two parameters
    {
       $RETURN i +# j; // Numeric sum
    } summation;