pid的值都没问题,为什么就是不能输出呢?
import winex;
import console;
var hwnd, ctrlHwnd, threadId, pid = winex.waitActive();
console.log('pid:'+ pid);
var str = string.loadcode('aaa<?=pid?>bbb');
console.log(str); //为什么这里打印不出模板值呢
console.pause();
var str = string.loadcode('pid = '++pid++' ?>aaa<?=pid?>bbb');
var str = string.loadcode('?>aaa<?='++pid++'?>bbb');
hwnd, ctrlHwnd, threadId, pid = winex.waitActive(); var str = string.loadcode('?>aaa<?=pid?>bbb');