ok i've updated the beta package, the strGetLine is inside strings.zir already.
i have update it , but strings.zir has no strGetLine???
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
ok i've updated the beta package, the strGetLine is inside strings.zir already.
i have update it , but strings.zir has no strGetLine???
http://www.freewebs.com/ogremagic/index.htm
yep it does at bottom below strCmp, i just downloaded the beta package and checked, and it is there.
is this the correct location
http://www.codeziron.com/uploads/releases/ziron.compiler.beta.rar
http://www.freewebs.com/ogremagic/index.htm
yep that's the one
i'm 100% sure there is....
this is the last 2 functions in the strings.zir of that .rar
function strCmp(char* s1, s2) {
uses edi esi;
esi = s1;
edi = s2;
lodsb
while (char[edi] == al) {
lodsb
edi++;
if (al == 0 and char[edi] == 0) { return true; }
}
eax = xor;
}
function strGetLine(pointer strOff; pointer dest) {
uses esi edi;
esi = strOff;
if (char[esi] == 0) {
return 0;
}
edi = dest;
lodsb
repeat {
if (al == 0) {
esi--;
break;
} elseif (al == 13 and char[esi] == 10) {
esi += 1;
break;
}
char[edi] = al;
edi++;
lodsb
};
char[edi] = 0;
return esi;
}
"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b
i have redownload it more that one time and there is no strGetLine in strings.zir
can you please reupload it again and change the location.
http://www.freewebs.com/ogremagic/index.htm