forked from starnakin/IronGOLEM
use postfix and variable initialisation
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
putstr(str)
|
||||
{
|
||||
local i;
|
||||
i = 0;
|
||||
local i = 0;
|
||||
loop {
|
||||
if ([str + i] == 0)
|
||||
return;
|
||||
putchar([str + i]);
|
||||
i = i + 1;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user