Hi!
In users guide, I found that it is possible to use LEN with arrays, stating that "For arrays this returns the total size of the array.".
I tried, but EBASIC does not like (or I'm making an error) the "]" character in array.
I tried searching on forum, but I wasn't able to get any help.
Does anybody have an example of using LEN with arrays?
Thanks so much
carlo
def a[100] as int
print len(a)
print baselen(a)
Thanks!
However, does it work for an array of string, too?
Yours Carlo
No. Strings are NULL terminated so LEN will return the number of characters currently in the string.
Paul.