Liste des Groupes | Revenir à cl forth |
On 26/06/2024 14:36, Ruvim wrote:One possible use case:
>
: turnkey ( -- ) 0 set-order
also Target definitions
also Minimal also
;
ALSO duplicates the wordlist at the head of the search order. If the search order is empty there is nothing to duplicate. Therefore ALSO applied to an empty search order ought to be an ambiguous condition.
Presumably the above definition works because a target wordlist replaces whatever garbage ALSO leaves in the search order. So the definition might as well have 0 1 SET-ORDER instead of 0 SET-ORDER ALSO.
Or better still TARGET-WORDLIST 1 SET-ORDER. Either removes the above justification for 0 SET-ORDER.
Les messages affichés proviennent d'usenet.