================================================================================ ADDVALUE A macro to add multibyte decimals. ================================================================================ SYNTAX AddValue arg0, arg1, arg2, arg3 arg0 How "deep" the digits of the original number (arg1) go. This is the number of digits, minus one. arg1 The label of the variable to update. arg2 How many to add to the digit. This should be a single-digit value. arg3 Which digit to add to. So, #0 for the ones digit, #1 for the tens digit, #2 for the hundreds, et cetera. -------------------------------------------------------------------------------- EXAMPLE USAGE AddValue #3, myScore, #1, #2 This example will add 100 point to the score. The first argument tells the macro to expect myScore to have four digits. The second argument tells the macro to manipulate the value of myScore. The third and fourth argument tells the macro to add 1 to the hundreds digit. -------------------------------------------------------------------------------- ADDITIONAL INFO If your current score (ie. myScore) is 1234, this is how the depth/digit to update is defined: Score: 1234 |||+-- digit #0 ||+--- digit #1 |+---- digit #2 +----- digit #3 (which is the depth of the number, ie. arg0 value) ================================================================================