> Here is results file :
>
> https://copy.com/i9GeXhK0qHdfwpkT

A 50k lines file is hardly "minimal"!

Using a trick with IOBuffer you can make it copy-pasteable:

st = """
       1

                                     n o d a l   p o i n t   d a t a


                                     t o t a l   n o d a l   t e m p e r a t u 
r e s


                      79   23.759                  105   23.759    
       """
buf = IOBuffer(st)
file = readdlm(buf)
findfirst(file,"79")

ERROR: access to undefined reference
 in findnext at array.jl:1034
 in findfirst at array.jl:1040


As Nils suggested, you probably need to parse the file yourself using
readall, split and strip and maybe others.  Report back if that doesn't
work.

Last, please don't cross post.  People looking at Julia on Stackoverflow
are mostly the same as the people here.  Happy Julia hacking!

> I need to extract values for node 79 , which starts at row 10 So i want the 
> algorithm to find the row file[10,1] and get the value file[10,2], and then 
> next and so on.
>
> file=readdlm("results.txt")  
> findfirst(file,"79")  
>
> access to undefined reference  
> while loading In[13], in expression starting on line 1  
>
>  in findnext at array.jl:1034 (repeats 2 times)

Reply via email to