Skip to content

jojoao52213/Dotxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Keywords:

print;

color;

title;

goto;

pause;

cls;

delay;

set;

exit;

How to use

  1. print

Outputs text or variables to the console.

print Hello, World!

print $variable

Supports variables with $ prefix.

  1. color

Changes the console text color.

color red

Preset colors: black, blue, green, red, purple, yellow, white, gray, violet.

  1. title

Sets the console window title.

title My Program

  1. goto

Jumps to a specific line number.

goto 10

Line numbers start at 1.

  1. pause

Pauses execution until a key is pressed.

pause

  1. cls

Clears the console screen.

cls

  1. delay

Pauses execution for milliseconds.

delay 1000
(Will pause for 1 second)

  1. set

Assigns values to variables.

set name = John
set count = 10

Variables are accessed with $ (e.g. $name)

  1. exit

Terminates the program immediately.

exit

More Commands Coming Soon!

About

A simple interpreted programming language inspired by BASIC, designed for learning (:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages