projects
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #34 from ellerh/implement-file-status
[pforth]
/
fth
/
t_file.fth
diff --git
a/fth/t_file.fth
b/fth/t_file.fth
index
f024926
..
018ca58
100644
(file)
--- a/
fth/t_file.fth
+++ b/
fth/t_file.fth
@@
-60,7
+60,7
@@
include? }T{ t_tools.fth
true fp-require-e !
true fp-require-e !
-
tru
e value verbose
+
fals
e value verbose
: testing
verbose IF
: testing
verbose IF
@@
-73,10
+73,6
@@
true value verbose
: s= compare 0= ;
: $" state IF postpone s" else ['] s" execute THEN ; immediate
: s= compare 0= ;
: $" state IF postpone s" else ['] s" execute THEN ; immediate
-\ FIXME: stubs for missing definitions
-: resize-file drop 2drop -1 ;
-: file-status 2drop 0 -1 ;
-
TESTING File Access word set
DECIMAL
TESTING File Access word set
DECIMAL
@@
-215,12
+211,12
@@
T{ FN2 R/W BIN OPEN-FILE SWAP DROP 0= -> FALSE }T
T{ FN2 DELETE-FILE 0= -> FALSE }T
\ ----------------------------------------------------------------------------
T{ FN2 DELETE-FILE 0= -> FALSE }T
\ ----------------------------------------------------------------------------
-
\
TESTING multi-line ( comments
-\
-
\
T{ ( 1 2 3
-
\
4 5 6
-
\
7 8 9 ) 11 22 33 -> 11 22 33 }T
-\
+TESTING multi-line ( comments
+
+T{ ( 1 2 3
+4 5 6
+7 8 9 ) 11 22 33 -> 11 22 33 }T
+
\ ----------------------------------------------------------------------------
TESTING SOURCE-ID (can only test it does not return 0 or -1)
\ ----------------------------------------------------------------------------
TESTING SOURCE-ID (can only test it does not return 0 or -1)