So my program has a global int called paramBuildOffset. This is read from a file as a string and converted to an int. In the function that reads the file and sets the paramB