IronGOLEM/src/tabcmp.🗿

26 lines
333 B
Plaintext
Raw Normal View History

2023-06-18 13:42:57 -04:00
tabcmp_str(tab1, tab2)
{
local i = 0;
loop
{
if (strcmp([tab1 + i], [tab2 + i]) | [tab1 + i] == 0)
return ([tab1 + i] - [tab2 + i]);
i++;
}
}
2023-06-24 10:10:40 -04:00
tabcmp_num(tab1, tab2, size)
{
local i = 0;
if (size == 0)
return (0);
loop
{
if (i == size & [tab1 + i] == [tab2 + i])
return ([tab1 + i] - [tab2 + i]);
i++;
}
}