Delta2
4th November 2008, 21:07
I wish to ask if I'm correct in my interpretation of "return last" command
I assume it will resume execution of the script to the last successfully command, is that correct ?
for example, this script :
AVISource("video.avi")
converttoyv12()
try{
any_bad_command
}
catch (err) {
return last
}
after the bad command it will resume to "converttoyv12" line
is that correct ?
I assume it will resume execution of the script to the last successfully command, is that correct ?
for example, this script :
AVISource("video.avi")
converttoyv12()
try{
any_bad_command
}
catch (err) {
return last
}
after the bad command it will resume to "converttoyv12" line
is that correct ?