Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random.fs not compiling as expected. #39

Open
jemo07 opened this issue Oct 30, 2022 · 1 comment
Open

random.fs not compiling as expected. #39

jemo07 opened this issue Oct 30, 2022 · 1 comment

Comments

@jemo07
Copy link

jemo07 commented Oct 30, 2022

Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
  ok
  ok
  ok
    Variable seed  ok
      ok
    $10450405 Constant generator  ok
      ok
    : rnd  ( -- x )  seed @ generator um* drop 1+ dup seed ! ;  ok
    : seed-init ( -- )  ntime drop seed +!  rnd drop ; 
:9: Undefined word
    : seed-init ( -- )  >>>ntime<<< drop seed +!  rnd drop ;
Backtrace:

Looks like there is a dependency to ntime word.

@farvardin
Copy link

@jemo07 probably it was fixed into current development version, you should try the latest snapshot. Gforth 0.7.3 is from 2014! It's a pity it's still the version labelled as "latest release"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants