Logo

Programming-Idioms

  • Scheme
  • Vb
Dim n As Integer = x.Count

The general list interface IList(Of T) inherits its Count property from ICollection(Of T)
n = UBound(x) + 1
(define n (length x))
with Ada.Containers.Vectors;
use Ada.Containers;
N : Count_Type := X.Length;

New implementation...
< >
programming-idioms.org