| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Larrikin 11.08.2013 09:27 / 11.08.2013 09:30
Сейчас вроде устраивает такой функционал в auto.p:##############################################################################################################
#Want to check
@wtc[code][locals]
^if($code is string && ^code.length[] > 0){
$name[../test/^wtn[]-^math:uuid[].p]
# only for manual debug
# ^code.save[$name]
^try{
^process[$test:CLASS]{^taint[optimized-as-is][$code]}[$.main[test-main]]
$result(^code.length[])
}{
$result(0)
$exception.handled(true)
}
}
^Erusage:compact[]В самом конце auto.p: @CLASS test @init[]