string_sample demo
hi
when compiling that demo with ziron ver 1.1.23.0a
it compiled ok , but when run it , got unexpected results
0Press any key to continue
that is what i got!!!!!!
Emil.
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
hi
when compiling that demo with ziron ver 1.1.23.0a
it compiled ok , but when run it , got unexpected results
0Press any key to continue
that is what i got!!!!!!
Emil.
http://www.freewebs.com/ogremagic/index.htm
by the looks of it i have broke some of the library functions when updating them, first thing tomorrow morning i will fix them and post the fixes. most likely strUpper and lower are broke.
seems a bug i need to find - but for now change the console.zir macro "print" to the following:
//under construction still :)
inline procedure print(;) {
$temp = 0;
$repeat $argc:
pushAP();
$if deftype($arg[$temp]) == 'int':
writenumber($arg[$temp]);
$elseif deftype($arg[$temp]) == 'string':
eax = strLen($arg[$temp]);
WriteConsoleA(hStdOut, $arg[$temp], eax, @nCharsWritten, 0);
$elseif deftype($arg[$temp]) == 'register':
writenumber($arg[$temp]);
$elseif deftype($arg[$temp]) == 'segment':
writenumber($arg[$temp]);
$else
$raise 'Unknown default type';
$end
$temp++;
popAP();
$end
}
that should solve it until i fix this minor issue :)