making 1 last quick release for this month, releases will definatly slow down after this one, i will try to add more for each release, i just wanted to get some of the important stuff out of the way...
2011.05.30: Ziron Compiler 1.1.15.7
-added repeat and until keyword. (repeat while is also valid)
-added for loop.
-added step - can be used in for loops (idea by Lord_Zero)
-added downto - in for loops to increments and downto decrements. e.g. for (ecx = 50 downto 0)
as you see this extends the control structures from just while loops to few others
edi = xor;
repeat {
edi++;
} while (edi < 50);
repeat {
edi--;
} until (edi == 0);
for (edi = 1 to 50) {
WriteNumber(edi);
}
for (edi = 0 to 50 step 10) {
WriteNumber(edi);
}
for (edi = 50 downto 0) {
WriteNumber(edi);
}
while (edi > 1) {
edi--;
}