Mark,
Thanks for the help I understand my error
for i: 1 thru 10 step 1 do
(x0: s[i], -- The s[i] should be changed to s[i,1] to yield a scalar.
however I still am unable to add rows to Lstd
display(x0), - this line executes
display(lb), - new line added for comparrison see output below
if(x0 > lb) then display(lb), - this comparrison statement provides no output - no change
if ((x0 > lb) and (x0 < ub)) then Lstd: addrow(Lstd, L[i])); - this comparrison also fails, Lstd has no additional rows. - no change
I get the following:
x0 = 117
lb = [102.16.....]
.
.
.
x0 = 154
lb = [102.16....]
Lstd;
[0,0,0,0,0,0]
length(Lstd);
1
Obviously x0 is a scalar being compared to a list (lb), but I am not certain this is an issue. I've tried declaring ub, and lb as scalars without success. Any other ideas?
Thanks again,
Ron