Tlang is a copy of basic with a few new functions
STRING A = ""
- Creates a variable of type stringINT B = ""
- Creates a variable of type integer//
- Used to comment things out (Has to have a space next to it or else it will not work!)INPUT A
- Listens for input and writes it to the specified variableLET B = A
- Sets B to APRINT "test"
- Prints to console the word "test" (For now you can not use spaces)PRINT A
- Prints variable 'A' to consoleFUNCTION test() {}
- in development
Modify the file prg.basx
in the src/
directory and run the following command ts-node index.ts
(You have to be in the src/ folder or else it will not be able to find the prg.basx
file)