--- gforth/environ.fs 1997/03/21 12:21:12 1.11 +++ gforth/environ.fs 1997/07/06 14:11:20 1.13 @@ -29,6 +29,8 @@ Create environment-wordlist wordlist dr false endif ; +: e? name environment? ; immediate + environment-wordlist set-current get-order environment-wordlist swap 1+ set-order @@ -51,7 +53,9 @@ true constant CORE-EXT -1 MAX-N 2constant MAX-D -1. 2constant MAX-UD -0 1 2constant gforth \ minor major version +version-string 2constant gforth \ version string (for versions>0.3.0) +\ the version strings of the various versions are guaranteed to be +\ sorted lexicographically : return-stack-cells ( -- n ) [ forthstart 6 cells + ] literal @ cell / ;