--- gforth/prim 1999/08/20 17:22:51 1.38 +++ gforth/prim 1999/11/08 22:01:09 1.40 @@ -1349,6 +1349,8 @@ f_addr = (Float *)((((Cell)c_addr)+(size [ 1 floats 1- ] Literal + [ -1 floats ] Literal and ; >body xt -- a_addr core to_body +"" Get the address of the body of the word represented by @i{xt} (the address +of the word's data field)."" a_addr = PFA(xt); : 2 cells + ; @@ -1663,18 +1665,19 @@ else { } \+ -\+file write-file c_addr u1 wfileid -- wior file write_file /* !! fwrite does not guarantee enough */ +#ifdef HAS_FILE { UCell u2 = fwrite(c_addr, sizeof(Char), u1, (FILE *)wfileid); wior = FILEIO(u2