Re: The length function
- Posted by ghaberek (admin) May 06, 2016
- 1265 views
dr_can said...
The answer is 1, but why is it not 0?
Because that sequence contains one item: a sequence whose length is zero.
Here's another example:
sequence item1 = {} sequence item2 = {} sequence item3 = {} sequence items = { item1, item2, item3 } ? length( items ) -- contains 3 items
-Greg