README tweaks

master
Pentium44 2021-04-06 01:35:47 -07:00
parent f7883f9164
commit c75dd2b22d
1 changed files with 11 additions and 14 deletions

View File

@ -15,34 +15,31 @@ Here is a list of functions and features that SlideScript comes with
at this moment!
* Commenting! Examples:
Thie simple way of comments! # Comment is real in this one
* # 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"
* write "file.txt" "This will be written to file.txt"
* read "file.txt"
* Delete example:
delete "file.txt"
* delete "file.txt"
* Execute example:
exec "ls -al"
* exec "ls -al"
* Print example:
print "Hi everyone!"
* print "Hi everyone!"
* Sleep (Zzz) example (sleeps for 2 seconds):
sleep 2
* sleep 2
* Variable setting
variablename=variabledata
* 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.
* 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
----