update readme

This commit is contained in:
IlyaShurupov 2024-03-21 13:57:27 +03:00
parent c908c7b397
commit 0a239578a1
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...";
}