char buf[1024] = { 0xFE, 0xFE, 0xFE, 0xFE, 0x68, 0x45, 0x99, 0x16, 0x45, 0x00, 0x00, 0x68, 0x11, 0x04, 0x33, 0x33, 0x37, 0x33, 0x9A, 0x16 }; char form[1024] = "(BUF[3+BUF[2]]==((GetCheck(0,3+BUF[2])/256).AND.255))"; int XXX = (int)mycalstr(buf, form, errbuf);