good morning ;)

i encountered a problem in refining my current kachel program... ( why did i 
start reading thinking forth....argl)

the problerm is

: test ( x y -- ) 0 ?do 0 ?do cr i . ." ," j . loop loop ;

should give (yes i really expexted this):
2 2 test
0,0
0,1
1,0
1,1

but it doesn't.... ( : test 2 0 ?do 2 0 ?do cr i . ." ," j . loop loop ; 
works ...)
it gives
1 1
2 1
3 1
...
467 1
....
12384 1 and so on....

so i read the gforth manual ( and tested the same construct with bigforth and 
isforth.... with the same result) but nothing about my problem... only if i 
would use return stack and so on...

now where is my mistake? or cant you put a loop in a loop? am i too stupid?

greetings ralf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to