Модуль:Бәәрн Бәәлһн Һазрин Зург: хүвлвр хоорндк йилһән

Аһулһнь уга кегдлә Аһулһнь немгдлә
Ясврин тәәлвр уга
Ясврин тәәлвр уга
93-гч мөр:
end
error('The value "' .. decimal .. '" provided for ' .. direction .. ' is not valid', 2)
end
elseif seconds and not minutes then
if seconds then
error('Seconds were provided for ' .. direction .. ' without minutes also being provided', 2)
elseif if not degreesminutes then
error('Seconds were provided for ' .. direction .. ' without minutes also being provided', 2)
end
end
if not degrees then
if minutes then
error('Minutes were provided for ' .. direction .. ' without degrees also being provided', 2)
end
elseifif hemisphere then
error('A hemisphere was provided for ' .. direction .. ' without degrees also being provided', 2)
end
Мөр 106 ⟶ 111:
if not decimal then
error('The degree value "' .. degrees .. '" provided for ' .. direction .. ' is not valid', 2)
end
elseif minutes andif not tonumber(minutes) then
error('The minute value "' .. minutes .. '" provided for ' .. direction .. ' is not valid', 2)
end
elseif seconds andif not tonumber(seconds) then
error('The second value "' .. seconds .. '" provided for ' .. direction .. ' is not valid', 2)
end