log findwindow(Блокнот)
end_script
call qwe
end_script
proc qwe
log findwindow(Блокнот)
end_proc
call test 0qwe
end_script
proc test $a
log $a
end_proc
call qwe privet1 asd 1,25
end_script
proc qwe $a $b $c
log $a $b $c
end_proc
load_array %a c:/2/test.txt
call qwe
end_script
proc qwe
set #cs current_script
set %a.#cs[4] zxc // Тут успешно обращается
set #res indexOf(%a.#cs noabs (asd)) // А тут нет. EAccessViolation Access violation at address 0054A64E in module 'uopilot.exe'. Read of address 00000100
end_proc
move 100, 200 + func( qwe(15 10) ) // курсор передвинется в координаты 100, 225
end_script
func qwe #a #b
set #c #a + #b
f_return #c
end_func
set $path c:/2/test.txt
set #res indexOf(func( qwe($path) ) noabs (asd))
log #res
end_script
func qwe $arrPath
load_array %a $arrPath
delete_array %a -1
f_return %a
end_func
Русская версия Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)