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
Содержание Camera
Страница 1: ......
Страница 2: ...The Canon Camera Hackers Manual ...
Страница 3: ......
Страница 4: ...Berthold Daum The Canon Camera Hackers Manual Teach Your Camera New Tricks ...
Страница 19: ...10 CH APTER 2 Cameras and Operating Systems ...
Страница 25: ...16 CH APTER 3 ...
Страница 85: ...76 CH APTER 4 Teach Your Camera New Tricks ...
Страница 213: ...204 CH APTER 6 ...
Страница 253: ...244 AP PENDIX ...