README update

This commit is contained in:
Pentium44 2021-04-06 01:34:06 -07:00
parent 68dec387b1
commit f7883f9164

View File

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