Enumerable range - HiStructClient/femcad-doc GitHub Wiki

Enumerable Range

Generates a sequence of integral numbers within a specified range

array := Fcs.Converters.EnumerableRange(6)

gives

 [0,1,2,3,4,5]

It can also generate a sequence of strings like

array := Fcs.Converters.EnumerableRange(3).Select( j => True)

which gives

 [True,True,True]

Enumerable Range for Letters

We may also need a sequence of letters within a specified range. For this there is a special function class created in ../_Common/FcsFunction

 IntegerToLetterFn.fcs

This class contains standard English alphabet, both capitals and small letters.

Simplified usage is in FcsFunctions.fcs where dedicated function is created so that you only have to tell the number:

 res.f.integerToLetterFn(number)
⚠️ **GitHub.com Fallback** ⚠️