Quote:
My problem is that I want to call a fuction with an array as its parameter and I want it to display entiore contents of that array if I do not send any other parameter but if I send an index as another parameter, it should display only the contents of that index. This can be done through Default Parameter as O but it is not working correctly. How can I successfully do this?
Why do you want to do this? VB habit? Get rid of immediately. For two different operations (by two different calls) have two different functions, ex displayall and displayone