README update
This commit is contained in:
parent
68dec387b1
commit
f7883f9164
12
README.md
12
README.md
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user