static void THK_runBuf(Args _args)
{
str myJob = "int myfunc(int i) {return i+7;}";
ExecutePermission perm;
;
perm = new ExecutePermission();
if (perm != null)
{
perm.assert();
print runBuf(myJob, 42);
pause;
CodeAccessPermission::revertAssert();
}
}
没有评论:
发表评论