This website requires JavaScript.
Explore
Help
Register
Sign In
starnakin
/
IronGOLEM
Watch
1
Star
0
Fork
1
You've already forked IronGOLEM
Code
Issues
Pull Requests
Packages
Projects
Releases
Activity
7e0c7180d3
IronGOLEM
/
src
/
memset.🗿
11 lines
112 B
Plaintext
Raw
Normal View
History
Unescape
Escape
add: memset
2023-06-12 13:23:04 -04:00
memset(tab, size, value)
{
use postfix and variable initialisation
2023-06-18 10:15:44 -04:00
local i = 0;
add: memset
2023-06-12 13:23:04 -04:00
loop {
if (i == size)
return (tab);
use postfix and variable initialisation
2023-06-18 10:15:44 -04:00
[tab + i++] = value;
add: memset
2023-06-12 13:23:04 -04:00
}
}
Reference in New Issue
Copy Permalink