update readme

This commit is contained in:
IlyaShurupov 2024-03-21 13:57:27 +03:00 committed by Ilya Shurupov
parent ee805fd3d7
commit 9972960556
3 changed files with 20 additions and 1 deletions

16
.docs/Gallery/oscript.txt Normal file
View file

@ -0,0 +1,16 @@
method myLogFunction(value) {
print value;
}
myLogFunction("hello");
var i = 10;
if (i == 10) {
while (i > 0) {
print i;
i = i - 1;
}
} else {
print "still doin' heavy calculations...";
}