PreviousNext
Help > EXTREME PROGRAMMING WITH RITTLE > Renaming and Reusing Variables
Renaming and Reusing Variables

Rittle provides the option to the developer to rename already defined variables and use them again instead of defining new ones. This does not generate any additional code but instead the RSC only renames variables to for better source clarity. The word to do that is “renvar”:

renvar oldname, newname;

Units can be renamed as well. Note that renaming does not require specifying [] for arrays.