16.6.2.0715
ALSO
SEARCH EXT
( -- )
Transform the search order consisting of
wid
n
, ...
wid
2
,
wid
1
(where
wid
1
is searched first) into
wid
n
, ...
wid
2
,
wid
1
,
wid
1
. An ambiguous condition exists if there are too many word lists in the search order.
Implementation:
:
ALSO
(
-- )
GET-ORDER
OVER
SWAP
1+
SET-ORDER
;
Testing:
T{
ALSO
GET-ORDER
ONLY
-> get-orderlist
OVER
SWAP
1+
}T
Forth 2012
Forth 2012
Search-Order 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 and notation
Additional usage requirements
Additional documentation requirements
Compliance and labeling
Glossary
ALSO
DEFINITIONS
FIND
FORTH-WORDLIST
GET-CURRENT
GET-ORDER
SEARCH-WORDLIST
SET-CURRENT
SET-ORDER
WORDLIST
ALSO
FORTH
ONLY
ORDER
PREVIOUS