ProtoLang.net

Reference: Commands

☰ Hide Sidebar

Commands are tokens that appear along with other language tokens to form statements which tell what computer exactly what to do. All statements follow particular structural rules that must be adhered to; otherwise, the program will crash since the computer will be unable to understand the intended instructions.

Memory Commands

Used to create, modify, or delete data stored in variables.

  • New: Creates a new variable in memory.
  • Set: Updates the value of an existing variable.
  • Delete: Deletes a specific variable from memory.
  • Clear: Removes all variables from the current session.

Output Commands

Used to send information to the screen.

  • Print: Displays data on the screen.
  • PrintLn: Displays data on the screen and moves to the next line.

System Commands

Used to control the state of the program itself.

  • Exit: Stops the program immediately.

Note: Complex statements using Conditionals, Loops, or Functions follow different structural rules.