* Bill Joy UCB June, 1977
error("Addr1 > addr2|First address exceeds second");
if (!digit(peekchar())) {
error("Bad count|Nonzero count required");
for (cnt
= 0; digit(peekchar());)
cnt
= cnt
* 10 + getchar() - '0';
if ((inglobal
== 0 || inopen
) && dot
<= endcore
)
error("No lines@in the buffer");
error("No address allowed@on this command");
error("Nonzero address required@on this command");
register int *addr
, offset
;
error("Relocation error@- can only offset by constants");
if (c
!= '?' && c
!= '/')
error("\\& needs / or ? in address");
error("Fail|Pattern not found");
else if (c
< 'a' || c
> 'z')
error("Marks are ' and a-z");
for (addr
= one
; addr
<= dol
; addr
++)
if (names
[c
] == (*addr
&~ 01))
error("Undefined mark@referenced");
error("Negative address@- first buffer line is 1");
error("Not that many lines@in buffer");
error("No match to BOTTOM|Address search hit BOTTOM without matching pattern");
error("No match to TOP|Address search hit TOP without matching pattern");