16.6.2.2037
PREVIOUS
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
. An ambiguous condition exists if the search order was empty before
PREVIOUS
was executed.
Implementation:
:
PREVIOUS
(
-- )
GET-ORDER
NIP
1-
SET-ORDER
;
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
PREVIOUS
DEFINITIONS
FIND
FORTH-WORDLIST
GET-CURRENT
GET-ORDER
SEARCH-WORDLIST
SET-CURRENT
SET-ORDER
WORDLIST
ALSO
FORTH
ONLY
ORDER
PREVIOUS