BRANCH_CFA, -14, # Loop
SOURCE_ID_VAR_CFA, FETCH_CFA,
CLOSE_FILE_CFA, DROP_CFA, # Close file
- SOURCE_ID_VAR_CFA, STORE_CFA, # Restore input source
+ SOURCE_ID_VAR_CFA, STORE_CFA, # Restore input source
+ LIT_CFA, 0, NUMIB_CFA, STORE_CFA, # Zero #IB
+ LIT_CFA, 0, TOIN_CFA, STORE_CFA, # Zero >IN
EXIT_CFA])
INCLUDE_CFA = defWord("INCLUDE", [LIT_CFA, 32, WORD_CFA,
0 , ( dummy length - we don't know what it is yet )
BEGIN
- >IN @ #IB @ >= IF \ End of TIB?
+ >IN @ #IB @ >= IF \ End of IB?
QUERY-INPUT \ Get next line
THEN
- IB >IN @ + @ 1 >IN +! \ Get char from TIB
+ IB >IN @ + @ 1 >IN +! \ Get char from IB
DUP [CHAR] " <>
WHILE
right-paren to the terminal. )
: .(
BEGIN
- >IN @ #IB @ >= IF \ End of TIB?
+ >IN @ #IB @ >= IF \ End of IB?
QUERY-INPUT \ Get next line
THEN
- IB >IN @ + @ 1 >IN +! \ Get char from TIB
+ IB >IN @ + @ 1 >IN +! \ Get char from IB
DUP [CHAR] ) = IF
DROP ( drop the double quote character )