Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When using integer constants, for example, as in:

Code Block
bgColor#FFCCCC

i_array[0] = 2719;
i_array[1] = 4435;
i_array[2] = 0042;

...

To avoid using wrong values and make the code more readable, don't pad with zeroes if the value is meant to be decimal.

Code Block
bgColor#FFFFCC#CCCCFF

i_array[0] = 2719;
i_array[1] = 4435;
i_array[2] = 42;

...