Create a valid check box in TERM Script Language. Then run the script through tsltrans.exe. The resulting CScript file gives the error, “expected number, got string.” It’s due to incorrect translation. For example, this command:
at 104,10 id 4 tabstop get SENDCLMS checkbox “Send Claims”, 30,8
run through tsltrans.exe gives this line:
tsl_atobjdone(4,11,10,104,30,”Send Claims”,(8)|16384,””,””,0,0,-1,”sendclms”, “”);
It should give this line instead:
tsl_atobjdone(4,11,10,104,30,20,(8)|16384,”Send Claims”,””,0,0,-1,”sendclms”, “”);
Note the addition of the value 20 just after 30, and the relocation of the “Send Claims” argument after the value 16384.
CR 728
This entry was posted
on Wednesday, May 2nd, 2007 at 1:03 pm and is filed under CScript, TSL.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.