EasyManua.ls Logo

Canon Camera - Page 164

Canon Camera
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5.7 Example scripts 155
met = parseTime(
string.sub(line, a, e - 1))
a = e + 1
e = string.find(line, " ", a)
if e then
local t =
string.sub(line, a, e - 1)
disp = parseDisp(t)
if not disp then
n = tonumber(t)
end
if disp or (not n) then
return focus,met,1,0,0,disp
end
a = e + 1
e = string.find(line, " ", a)
local i1i2 =
string.sub(line, a, e - 1)
local p = string.find(i1i2,"%-")
if p then
i1 = parseTime(
string.sub(i1i2, 1, p - 1))
i2 = parseTime(string.
sub(i1i2, p + 1, #i1i2))
else
i1 = parseTime(i1i2)
i2 = i1
end
a = e + 1
e = string.find(line, " ", a)
end
if e then
disp = parseDisp(
string.sub(line, a, e - 1))
end
return focus, met, n, i1, i2, disp
end

Table of Contents

Related product manuals