forked from starnakin/IronGOLEM
add: memset
This commit is contained in:
parent
8fc278eeda
commit
5ed6753436
11
src/memset.🗿
Normal file
11
src/memset.🗿
Normal file
@ -0,0 +1,11 @@
|
||||
memset(tab, size, value)
|
||||
{
|
||||
local i;
|
||||
i = 0;
|
||||
loop {
|
||||
if (i == size)
|
||||
return (tab);
|
||||
[tab + i] = value;
|
||||
i = i + 1;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user