11.6.2.2144.10
REQUIRE
FILE EXT
(
i * x "name"
--
i * x
)
Skip leading white space and parse
name
delimited by a white space character. Push the address and length of the
name
on the stack and perform the function of
REQUIRED
.
See:
11.6.2.2144.50 REQUIRED
,
A.11.6.2.2144.10 REQUIRE
.
Rationale:
Typical use:
REQUIRE
filename
Implementation:
:
REQUIRE
(
i*x "name" -- i*x )
PARSE-NAME
REQUIRED
;
Testing:
See
F.11.6.2.2144.50 REQUIRED
.
Forth 2012
Forth 2012
File-Access word set
Foreword
Proposals Process
200
x
Membership
Introduction
Terms, notation, and references
Usage requirements
Documentation requirements
Compliance and labeling
Glossary
Block word set
Double-Number word set
Exception word set
Facility word set
File-Access word set
Floating-Point word set
Locals word set
Memory-Allocation word set
Programming-Tools word set
Search-Order word set
String word set
Extended-Character word set
Rationale
Bibliography
Compatibility analysis
Portability guide
Reference Implementations
Test Suite
Alphabetic list of words
Glossary
Introduction
Additional terms
Additional usage requirements
Additional documentation requirements
Compliance and labeling
Glossary
REQUIRE
(
BIN
CLOSE-FILE
CREATE-FILE
DELETE-FILE
FILE-POSITION
FILE-SIZE
INCLUDE-FILE
INCLUDED
OPEN-FILE
R/O
R/W
READ-FILE
READ-LINE
REPOSITION-FILE
RESIZE-FILE
S"
SOURCE-ID
W/O
WRITE-FILE
WRITE-LINE
FILE-STATUS
FLUSH-FILE
INCLUDE
REFILL
RENAME-FILE
REQUIRE
REQUIRED
S\"