Need help: Solved
Posted: 28 Oct 2010, 22:31
Well i am trying to make a text input using 3 keys. L/R to select letter, enter to choose.
My code gives me a file error. Code 5.
Not telling what it's for... Hey! cover it up!
My code gives me a file error. Code 5.
Code: Select all
task main() {
string Alphabet[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u",
"v", "w", "x", "y", "z"};
string L1, L2, L3, L4, L5, L6, l7, L8, Sen, Sen2; // Hax Ngn: Direct NeX Edit :o (hide the answer!!!!!)
bool S;
int N;
while (S == false){
while (0 == ButtonCount(BTNCENTER,true)){
if (ButtonCount(BTNLEFT,true))
{
N--;
}
if (ButtonCount(BTNRIGHT,true))
{
N++;
}
Sen2 = Alphabet[N];
TextOut(0, LCD_LINE3, Sen, true);
TextOut(0, LCD_LINE5, Sen2);
}
StrCat(Sen, Sen2, Sen);
}
}