6.2.1675 HOLDS CORE EXT
( c-addr u -- )
Adds the string represented by c-addr u to the pictured numeric output string. An ambiguous condition exists if HOLDS executes outside of a <# #> delimited number conversion.
See:
Implementation:
Testing:
ContributeContributions
GerryJackson
[61] Specification of HOLDS is ambiguousComment2018-06-27 15:59:05
The description doesn't make it clear that the string is prepended to the existing contents of the pictured output buffer. That can be deduced from the reference implementation but a user shouldn't have to do that.
Also the test does not make it clear. Suggest adding a test along the lines:
T{ <# 123 0 #S S" Number: " HOLDS #> " Number: 123" COMPARE -> 0 }T