Handbook
Glossary
lines-equal? ( loc1 loc2 -- ? )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Editor gadgets
»
Documents
»
Document locations
Prev:
=line ( n loc -- newloc )
Next:
validate-loc ( loc document -- newloc )
Vocabulary
documents
Inputs
loc1
a pair of integers
loc2
a pair of integers
Outputs
?
a
boolean
Word description
Tests if both line/column pairs have the same line number.
Definition
USING:
kernel
math
sequences
;
IN:
documents
:
lines-equal?
( loc1 loc2 -- ? )
[
first
]
bi@
number=
;