From: joylix <jo...@12...> - 2020-10-04 11:15:17
|
Dear all: How to I implement the variable assignment as follows: inputData is in [ 9, 8, 7, 5 ] var1= [ 93, 86, 74, 52 ] outputData = var1[indexofInputData] for example: when inputData=9, outputData= var1[0]=93 when inputData=7, outputData= var1[2]=74 How to implement this expression in yaml? Thank you! |