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.
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user