William, you've got the idea. Arrays are really useful in these circumstances, and are really worth becoming familiar with.

Best,

Mark



On 21 Sep 2008, at 01:13, william humphrey wrote:

I'm having trouble sorting this out. I have a function that searches through lines of tab delimited text. The number of lines varies from one to ten. The result from the search is two things. A data element and a pointer that says which kind of data element. Sometimes the result is one data element and one
pointer and sometimes the result is another quantity like three data
elements each with their identifier. To have this returned by the function it seems I need an array. I'm inexperienced at using arrays but I imagine that you just build it in the function and that is what is returned and then
the identifiers for each data element are the keys and it makes no
difference how many lines are in the array? Perhaps I also return a counter
which says how many lines of data are in the array?
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to