added network builtins and fixed a bug in OPCODE_SELECT

This commit is contained in:
cozis
2021-12-04 12:36:47 +01:00
parent 3b6e631a5b
commit 4cf95336e8
7 changed files with 265 additions and 13 deletions
+15 -1
View File
@@ -3,4 +3,18 @@ b = newBuffer(16);
b[2] = 10;
print(b);
print(b, '\n');
fun toArray(buffer)
{
i = 0;
r = [];
while i < count(buffer):
{
r[i] = buffer[i];
i = i+1;
}
return r;
}
print(toArray(b), '\n');