README update

master
Pentium44 2021-04-06 01:34:06 -07:00
parent 68dec387b1
commit f7883f9164
1 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
SlideScript - v0.1.1-dev
SlideScript
A simple, user friendly scripting language.
====
@ -16,22 +16,32 @@ at this moment!
* Commenting! Examples:
Thie simple way of comments! # Comment is real in this one
* Read and writing to flat files. Examples:
write "file.txt" "This will be written to file.txt"
read "file.txt"
* Delete example:
delete "file.txt"
* Execute example:
exec "ls -al"
* Print example:
print "Hi everyone!"
* Sleep (Zzz) example (sleeps for 2 seconds):
sleep 2
* Variable setting
variablename=variabledata
* Variable passing
filename=file.txt -> filename
filedata=File '%filename%' is being moved to moo -> %filename% is populated as file.txt
write "%filename%" "%filedata%" -> writes filedata contents to file.txt as expected.
Todo list