Next: , Previous: , Up: syslib vectors   [Index]


12.16.2 Inspecting vectors

The arguments vec to these operations must be fixnums, the arguments fx must be fixnums. The following bindings are exported by the library (vicare system $vectors).

Unsafe Operation: $vector-length vec

Evaluate to a fixnum representing the numbe of values in vec.

Unsafe Operation: $vector-empty? vec

Return #t if the vector vec has zero length, otherwise return #f.

Unsafe Operation: $vectors-of-same-length? vec0 vec

Return #t if all the vector arguments have the same length; otherwise return #f.