Handbook
Glossary
num-records ( path -- n )
Vocabulary
shapefiles
.
private
Inputs
path
an
object
Outputs
n
an
object
Definition
USING:
accessors
io.encodings.binary
io.files
math
sequences
;
IN:
shapefiles.private
:
num-records
( path -- n )
".shx"
append
binary
[
read-header
file-length>>
2
*
100
-
8
/
]
with-file-reader
;