src/EasyMorse.cpp
//Get number value of character. Example: .- = 12
Get number value of character.
Get number value of character .
long EasyMorse::getCharNum() {
  int mult = 1;
  int i;
  long charNum = 0;
  for (i = pointer-1; i > -1; i--) {
    charNum = charNum + (dotDash[i] * mult);
    mult = mult * 10;
  }
  return charNum;
}
long EasyMorse :: getCharNum ( ) { int mult = 1 ; int i ; long charNum = 0 ; for ( i = pointer - 1 ; i > -1 ; i -- ) { charNum = charNum + ( dotDash [ i ] * mult ) ; mult = mult * 10 ; } return charNum ; }
Get number value of character.
Get number value of character .