March 28, 201114 yr If $variable[7] contains "Alpha", and field Repetition contains the number 7 - what should be the result of = List ( $variable[Repetition] ; "Bravo" ) ??? List&RepeatingVariableBug.zip
March 29, 201114 yr Hi comment another ( strange ) workaround: List ( Evaluate ( Quote ( $v [ Table::Repetition ] ) ) ; Table::SecondValue ) or ( even more strange ): a ) List ( $v [ Evaluate ( Table::Repetition ) ] ; Table::SecondValue ) b ) List ( $v [ GetAsNumber ( Table::Repetition ) ] ; Table::SecondValue ) c ) List ( $v [ Table::Repetition + 0 ] ; Table::SecondValue )
March 29, 201114 yr Author Right. Obviously there is a problem with the order of evaluation when the expression is enclosed in List(). And now that I have put it this way, I have remembered this: http://fmforums.com/forum/topic/76502-getnthrecord-not-reliable/page__p__360070
Create an account or sign in to comment