firstN()

Zusammenfassung

Gibt die ersten n Elemente aus einer Liste zurück.

Syntax

firstN ( list As List, _
         n As Integer ) As List 
Argument Typ Beschreibung
List Liste Originalliste
n Ganzzahl Die Anzahl der zurückzugebenden Elemente

Beispiel 1

Intent >firstN({ a, b, c, d, e, f}, 3) 
--> {a, b, c}