Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Newbie Questions > Variable Atoi Not Found


Posted by: markp Jun 30 2011, 12:07 PM
When Running Batch file with command:
vdub /i myscript.job m1.avi 100 200 m1out-100-200.avi

I get "Variable 'Atoi' not found" error.
Atoi is supposed to be a function to convert Alpha to Numeric
Can anyone help as to why this function is not available.

I presume I have not installed correctly.

---------------------------------------------------------------------
myscript.job
-------------
declare startframe;
declare endframe;
VirtualDub.Open(VirtualDub.params[0]);
VirtualDub.video.SetMode(0);
startframe = Atoi(VirtualDub.params[1]);
endframe = Atoi(VirtualDub.params[2]);
VirtualDub.video.SetRangeFrames(startframe,endframe);
VirtualDub.SaveAVI(VirtualDub.params[3]);
-----------------------------------------------------------------------

Thanks...

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)