i encountered a problem in trying to use the fflib.fs... maybe someone can 
help....

this is the code i write to experiment with the curseslib

require fflib.fs
require forth/require/c-func.fs
library curses /lib/libncurses.so.5.4
curses initscr (void) initscr
curses printw ptr (void) printw
curses refresh (void) refresh
: testp initscr s" timmy" ftoc printw refresh ;


and here is the problem.... initscr it works but messed up the stack.. (see 
output)

gforth curses.fs
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
initscr
ok
   .s <-335773576>  ok



as you see there are to much stack items... and i dont know why... i test 
various types between (void) (ptr) (int) and so on but the result is always 
the same.....

thanks ralf

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

Reply via email to