-
Notifications
You must be signed in to change notification settings - Fork 2
Commands
This is a list of the possible commands that can be used in PogCode, along with their usage and formatting.
PogCode is a no-indent language. At the moment, there is not a need to indent code to begin with, but indents are not supported in PogCode, and using them will cause unintended side effects. PogCode is also case-sensitive. Commands and variables must be properly capitalized in order to properly function.
Variables can be used in a PogChamp or Pog command by surrounding the name of the variable in {}s.
Writes a blank line to the console.
Writes the output to the console in a new line, compatible with variables.
Writes the output to the console without creating a new line, compatible with variables.
Waits for the user to press Enter before continuing to the rest of the code.
Sleeps for the specified amount of time, compatible with variables.
Declares a variable of the specified type with the specified name.
Declares a variable of the specified type with the specified name with the specified value.
Declares a variable of the specified type with the specified name with the value provided from the user's input.
Parses and outputs a math expression, compatible with variables.
Precedes a comment, ignored by PogCode.
Acts as a breakpoint for debugging purposes, usable by running the code through a copy of the source code of the PogCode Interpreter running in an IDE.