I want to ask user for a list of numbers. Each row has 5 numbers, comma separated with @CR at end of each line. There are 100 or more lines. I can successfully parse the input into an array of 100 elements. The problem is how to I now parse each line of the array into the 5 numbers?
; Prompt the user to enter a list of numbers n,n,n,n,n
; List will be 100 lines long
strInput = AskTextBox("Enter a list of numbers:", "Number List Input", "",0,0)
; Split the input string based on newlines to get each row
array = Arrayize(strInput,@LF)
arrRows = ArrInfo( array, 1)
; This DOESN'T work
; Loop through each row in the list of numbers
for j = 0 to arrRows
; Split each row based on the '-' delimiter to get individual values
mystr = ""
mystr = array(1) ; ERROR HERE
ParseData(mystr)
next