Search code examples
forthgforth

Variable floating point variable conditional Gforth


To expand this, how can I do this with variables?

 fvariable foo 6.2e foo f!
 fvariable boo 8.2e boo f!

 boo @ foo @ f> // How is this done? 

Solution

  • You access floating point variables with f@ and f!.

    boo f@ foo f@ f>