Just some interesting facts

new topic     » topic index » view thread      » older message » newer message

Try this:


object a
a = 0
for i = 1000000 to 1 by -1 do
    a = {i, a}
    a[1] = a
end for
print(1,a)


A message like "A stack overflow was encountered at address 0043d335"
will appear after about two thousand.



procedure b(object c) 
    ?c
    b(c+1)
end procedure
b(0)


After more than 600000 depth, it still runs!


So Eu stack is better than C stack. Or Eu doesn't use real stack.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu