💻
Budgie
  • Introduction
  • Syntax
    • Comments
    • Strings
    • Variables
    • Math
      • String Conversions
    • Arrays and Lists
      • Sorting
    • Dictionaries
    • Enums
    • Classes
      • Member Variables
      • Member Functions
      • Interfaces
      • Static Variables
      • Static Functions
    • Standalone Functions
      • Main
    • Lambdas
    • Exceptions
    • Files
    • Imports
    • Unsupported Commands
  • Projects
  • Internals
  • Languages
  • Omissions
Powered by GitBook
On this page
  • Single Line Comments
  • Multi Line Comments

Was this helpful?

  1. Syntax

Comments

Most languages have two concepts of comments: single-line and multi-line. Budgie supports both.

Single Line Comments

Use the comment line command. It takes in any number of parameters and directly outputs them.

comment line : Hello world!
  • In C#: // Hello world!

  • In Python: # Hello world!

Multi Line Comments

Also known as "block" comments, these are preceded by comment block start and ended with comment block end. Each line of actual block content comes from comment block, which, like comment line, directly prints all its parameters.

comment block start
comment block : Hello world!
comment block end

In C#:

/*
 * Hello world!
 */

In Python:

"""
Hello world!
"""
PreviousSyntaxNextStrings

Last updated 5 years ago

Was this helpful?