RosettaCodeData/Task/Array-length/Asymptote/array-length.asymptote
2026-04-30 12:34:36 -04:00

3 lines
117 B
Text

string[] fruit = {"apple", "orange"};
int length = fruit.length;
write("The length of the fruit array is ", length);