CodeLess1

Description:

script:CodeLess1(code)

Creates a range, typically to be used single-choice question from 1 to one less than the code

Example:

script:CodeLess1(10)

Result:

1:9