Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When you generate a Lords Marshalled List in Lawmaker, each of the previously un-published amendments will be assigned a number according to the numbering logic described below. Each of the If there are some previously published amendments they will retain the number it already has.In the following they have been assigned.

As a result, there is a need to add suffixes to amendment numbers where they appear between already-published amendments. The table below describes the numbering algorithm. In the table:

  • prevNum is the number of the previous amendment in the list

  • nextNum is the number of the next amendment that has already been published in the list

  • newNum is the number to be applied to the amendment being assigned a number

  • "increment of prevNum" means

    • if prevNum ends in a numeric value, increase the numeric component by 1, e.g. from "19" to "20" or from "A1" to "A2"

    • if prevNum ends in a letter, increment last letter to next letter, e.g. from "1A" to "1B" or from "13ZZF" to "13ZZG"

...

Amendment position

Numbering logic

amendment is the first in the list

If nextNum is 1 then newNum = "A1"
Else newNum = "Z" + nextNum (e.g. "ZA1")

amendment is in the middle of the list

if nextNum = increment of prevNum then newNum = prevNum + "A" (e.g. between 3BF and 3BG is 3BFA)
elseif nextNum = prevNum + "A" then newNum = prevNum + "ZA" (e.g. between "1C" and "1CA" is "1CZA")
else newNum = increment of prevNum (e.g. between "34C" and "34E" is "34D")

amendment is at the end of the list

newNum = increment of prevNum