ADM_string_to_long
SrecordLength = ADM_string_to_long(Line+2, 2);
Sum += ADM_string_to_long(CurrentChar, 2);