To ensure the syncronism when using variables, we can create a highly customized function and use it in any section of the program. For that we can use the while cycle to make one single interaction (“True” in exit condition) storing one or more shift register to store the information. For the entry conditions of the “case” we can use “enum”, “string”, “numeric”, “bollean”, depending on the requirement.