Module:MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Added suffix param to mos_to_et function
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 676: Line 676:
-- Given a mos, find the ancestor mos with a target note count (default 10)
-- Given a mos, find the ancestor mos with a target note count (default 10)
-- or less; to be moved to tamnams module
-- or less; to be moved to tamnams module
-- Module:Infobox MOS is the only module that uses this function.
function p.find_ancestor(mos, target_note_count)
function p.find_ancestor(mos, target_note_count)
local mos = mos or p.new(5, 2)
local mos = mos or p.new(5, 2)