Name

n-to-link:header — ordinary primitive

Synopsis

FORTH

N>LINK ( nfa -- lfa )();
p4:"n-to-link";

Description

converts a pointer to the name-field (NFA) to point then to the corresponding link-field (LFA) - this operation is quicker than the inverse L>NAME. This word is a specific implementation detail and should not be used by normal users - instead use always NAME> which is much more portable. Many systems may possibly not even have a >LINK-field in the sense that a @ on this adress will lead to another >NAME. Any operation on the resulting >LINK-adress is even dependent on the current configuration of PFE - only in fig-mode you are asserted to have the classic detail. (and fig-mode did not know about SYNONYMs - see note at LINK>).

 implementation-specific configure-dependent fig-only simulation:
   : N>LINK  C@ + ;