90 likes | 157 Views
Variable Roles. Matt Dawson. Fixed Value. The Fixed Value variable is a constant value. It cannot be altered by any functions or any code. Stepper. The Stepper works like a counter. It keeps track of how many times a function has been initiated. . Most Recent Holder.
E N D
Variable Roles Matt Dawson
Fixed Value • The Fixed Value variable is a constant value. It cannot be altered by any functions or any code.
Stepper • The Stepper works like a counter. It keeps track of how many times a function has been initiated.
Most Recent Holder • The Most Recent Holder holds the most recently created value. This can either be a value entered by the user, or generated through the code. (The MRH is farenheit)
Most Wanted Holder • The Most Wanted Holder holds the most appropriate/useful value. For example, in a search that goes through a list of numbers to find the highest, the Most Wanted Holder would store the highest number found as it searches.
Gatherer • The Gatherer holds the total amount of values in a data set, like an array (The Gatherer is totalchilderen)
Transformation • The Transformation holds the value which is a result of a function. (The Transformation is ConvertToCelsius)
Follower • The Follower gets its value by copying from an old data item, so that a new value can be compared.
Temporary • The Temporary holds a value for a short time for it to often be later given to a permanent value.