Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

length

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear all
Is array have .length()or length method ?
please comment.
thanks in advance.
--shi
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi shi,
Arrays have a field named length (not a method). so to get an array's length use
arayneme.length
regards
deekasha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic