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);
}
}