high level expression
hi ,
i want Ziron to support that , forget the optimization here
function strLen(char* str)
{
uses Ebx Ecx;
Ebx = str;
Ecx = Ebx;
while(char[Ecx] != 0)
{
Ecx++;
}
int32 len = Ecx - Ebx; // hope this expression will be supported to make life more easy
return len;
}
http://www.freewebs.com/ogremagic/index.htm