to assign the values allocated in the last row of the list to variables.

is
do
ImportedValues.readFile("InitValuesForModel.txt");
ImportedValues.setCursor(1,1);
ImportedValues.find({1,1}..{1,*},void);
local rowNumber :=ImportedValues.cursorY;
--Assign values which was read in to the variables
ReorderPoint := str_to_num(ImportedValues[1,rowNumber]);
ReorderQuantity := str_to_num(ImportedValues[2,rowNumber]);
end;

the values in the list are as follows:

but the values that are assigned to the variables remains as follows:

Please help with the code to assign the values in the last row to the variables!