Re: a different parse question

new topic     » goto parent     » topic index » view thread      » older message » newer message

for i = 1 to length(Trianglearray) do

              for j = 1 to length(Trianglearray[i]) do

      >>>>    Trianglearray[i][j] = value(Trianglearray[i][j])   
<<<<<   bad line
                  Trianglearray[i][j] = Trianglearray[i][j][2] 
              
              end for

end for

--This is the error below

D:\EUPHORIA\include\get.e:46 in procedure get_ch() 
type_check failure, ch is {48'0'} 

... called from D:\EUPHORIA\include\get.e:306 in function value()  
    string = {
               {48'0'},
               {49'1'},
               {50'2'},
               {48'0'},
               {48'0'},
               {48'0'}
             }

im pretty sure all i need to do is strip this code down to {48,49,50,48,48,48}

what is the easiest way of doing that ??

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu