Here is the code in question:

$CLExecute[ iter ] = Case ( Left ( Substitute ( Lower ( Function ); ["definir"; "Let" ]; [" "; ""]; ["¶"; ""]); 5 ) = "Let([";

Substitute ( First ; [ "_"; "Let([$CLn[" & iter & "]=$CLn[" & iter & "]+1;CLNum=$CLn[" & iter & "];" &

Replace ( FunctionR; 1; Position ( FunctionR; "["; 1; 1 ); "" ) & "&¶&¶"] );

Substitute ( First ; [ "_"; "Let([$CLn[" & iter & "]=$CLn[" & iter & "]+1;CLNum=$CLn[" & iter & "]];" & FunctionR & ")&¶&¶"] )

So it looks like $CLExecute [ iter] is a repeating [variable], which i havent seen before.

Just was wondering if $CLExecute [ iter ] will end being just a number or a word or a number or a calculation itself.

trying to put in data viewer now, just looking for experts opinion!

thanks again,

-ian

Message was edited by: ian.moree

$CLExecute [ iter] is a script variable - not a field. iter is also a variable that needs to contain a number. All script and global variables are "repeating", i.e. their full name is $variableName[repetitionNumber]. You can omit the repetitionNumber when you refer to repetition #1.