Well when i say that using () is faster please trust me next time...
alias super {
var %fich = $false
var %ticks = $ticks
var %i = 0
while (%i < 35000) {
if %fich == $true echo teste
inc %i
}
echo 1º time is $calc($ticks - %ticks)
%ticks = $ticks
%i = 0
while (%i < 35000) {
if (%fich == $true) echo teste
inc %i
}
echo 2º time is $calc($ticks - %ticks) 4game over i win!
}
output:
1º time is 1562
2º time is 1516 game over i win!
you can run it the times you want... it is not much faster but it is faster!!
the code looks better, faster and more professional (start training if you want to be a good programmer)
btw using {} also makes the code look better but in this case makes it slower
thanks
p.s don't put %fich = $true