Well most of your code looks pretty good, I think your looking to far into it though. It is possible your values your inputting it may be read as int's, double's, float's etc. To avoid this you should always define your variables you put into the functions you call.

ex:
Code:
var numA = 10;
var numB = 40;
var numC = 85;
STRING* charA, charB;
charA = "A message of sorts";
charB = "Another message";
//Then put those in the function


Otherwise make more functions with more combinations, it is also possible that your strings are being read as char's but I don't think that's likely.


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C