IsRequiredDateSold = requiredFields[9] == 'T', What does the 9 really mean. Index Value?
I have the following method below and I'm having a hard time understanding what does the following notation mean... The following code is reading from a table and converting it to a variable just not sure why the 9?
Your function recieves a string called reqdfields. That gets split into a character array and stored in a variable called requiredFields.
This line:
IsRequiredDateSold = requiredFields[9] == 'T'
sets the IsRequiredDateSold variable to either true or false, by checking whether the 10th item in the requiredFields variable is equal to the letter T.