Handbook
Glossary
nth-record ( n path -- record )
Vocabulary
shapefiles
.
private
Inputs
n
an
object
path
an
object
Outputs
record
an
object
Definition
USING:
accessors
io
io.encodings.binary
io.files
kernel
math
sequences
;
IN:
shapefiles.private
:
nth-record
( n path -- record )
[
nth-index
offset>>
]
keep
".shp"
append
binary
[
2
*
seek-absolute
seek-input
read-record
]
with-file-reader
;