Re: [Flashforth-devel] Flashforth does not return with data
Brought to you by:
oh2aun
|
From: Paulo F. <pa...@ke...> - 2011-04-09 12:55:33
|
>
>
> You need to do . to print the top of the stack.
>
> . (dot) prints the top of the stack.
>
> Try this:
>
> 2 3 + .
>
> 5 6 * .
>
> Best regards
>
> Paulo Ferreira
Sorry my answer was too fast.
Brain was not fully functional yet. :-( :-(
On other forths one needs to use . to see the number on top of the stack.
On flashforth "prompt" is by default ".st" and prints the top of the stack.
If you do ".st" what do you see?
Try "` .st is prompt" to restore the normal behavior of flashforth.
Best regards
Paulo Ferreira
|