const toNumString = (index: number): string => {
let indexStr = index + ''
while (indexStr.length < 3) indexStr = '0' + indexStr
return indexStr
}
const createPadStrings = (): void => {
let indexCounter = 128
for (let i = 0; i < 32; ++i) {
let padStrings: string[] = []
for (let j = 0; j < 4; ++j) {
padStrings.push (`pad_${toNumString(indexCounter)}`)
indexCounter--
}
const result = JSON.stringify (padStrings.reverse().join(' ')) // for double quotes
console.log(result)
/*
"pad_125 pad_126 pad_127 pad_128"
"pad_121 pad_122 pad_123 pad_124"
"pad_117 pad_118 pad_119 pad_120"
"pad_113 pad_114 pad_115 pad_116"
"pad_109 pad_110 pad_111 pad_112"
"pad_105 pad_106 pad_107 pad_108"
"pad_101 pad_102 pad_103 pad_104"
"pad_097 pad_098 pad_099 pad_100"
"pad_093 pad_094 pad_095 pad_096"
"pad_089 pad_090 pad_091 pad_092"
"pad_085 pad_086 pad_087 pad_088"
"pad_081 pad_082 pad_083 pad_084"
"pad_077 pad_078 pad_079 pad_080"
"pad_073 pad_074 pad_075 pad_076"
"pad_069 pad_070 pad_071 pad_072"
"pad_065 pad_066 pad_067 pad_068"
"pad_061 pad_062 pad_063 pad_064"
"pad_057 pad_058 pad_059 pad_060"
"pad_053 pad_054 pad_055 pad_056"
"pad_049 pad_050 pad_051 pad_052"
"pad_045 pad_046 pad_047 pad_048"
"pad_041 pad_042 pad_043 pad_044"
"pad_037 pad_038 pad_039 pad_040"
"pad_033 pad_034 pad_035 pad_036"
"pad_029 pad_030 pad_031 pad_032"
"pad_025 pad_026 pad_027 pad_028"
"pad_021 pad_022 pad_023 pad_024"
"pad_017 pad_018 pad_019 pad_020"
"pad_013 pad_014 pad_015 pad_016"
"pad_009 pad_010 pad_011 pad_012"
"pad_005 pad_006 pad_007 pad_008"
"pad_001 pad_002 pad_003 pad_004"
*/
}
}