CODE:function readcaptcha()
{
readtext (NUM | EN, #captcha1[0], 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha2[1], 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha3[2], 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha4[3], 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
char captcha1 = captcha1[0];
char captcha2 = captcha2[1];
char captcha3 = captcha3[2];
char captcha4 = captcha4[3];
captcha = captcha1+captcha2+captcha3+captcha4;
}
ЕСЛИ ЗАПИСЫВАЮ В ТАКОМ ВИДЕ :
CODE:function readcaptcha()
{
readtext (NUM | EN, #captcha1, 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha2, 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha3, 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
readtext (NUM | EN, #captcha4, 8, 1, 12, -1, -1, -1, -1, 0, -1, x1_captcha, y1_captcha, x2_captcha, y2_captcha, wind);
captcha = captcha1+captcha2+captcha3+captcha4;
}
ТО В ОТЛАДЧИКЕ ВИДИМ СЛЕДУЮЩЕЕ
CODE:readcaptcha ( )
readtext ( NUM + EN , # captcha1'a 0\r\ng 1 1' , 8 , 1 , 12 , - 1 , - 1 , - 1 , - 1 , 0 , - 1 , x1_captcha'341' , y1_captcha'191' , x2_captcha'408' , y2_captcha'212' , wind )
readtext ( NUM + EN , # captcha2'a 0\r\ng 1 1' , 8 , 1 , 12 , - 1 , - 1 , - 1 , - 1 , 0 , - 1 , x1_captcha'341' , y1_captcha'191' , x2_captcha'408' , y2_captcha'212' , wind )
readtext ( NUM + EN , # captcha3'a 0\r\ng 1 1' , 8 , 1 , 12 , - 1 , - 1 , - 1 , - 1 , 0 , - 1 , x1_captcha'341' , y1_captcha'191' , x2_captcha'408' , y2_captcha'212' , wind )
readtext ( NUM + EN , # captcha4'a 0\r\ng 1 1' , 8 , 1 , 12 , - 1 , - 1 , - 1 , - 1 , 0 , - 1 , x1_captcha'341' , y1_captcha'191' , x2_captcha'408' , y2_captcha'212' , wind )
captcha = captcha1'2 8 j 9' + captcha2'2 8 j 9' + captcha3'2 8 j 9' + captcha4'2 8 j 9'
Что говорит что текст распознан 28j9, но нужно чтоб было captcha=captcha1'2'+captcha2'8'+captcha3'j'+captcha4'9'