Hi everyone!! I'm not sure this matter is new to this board but I don't know how to search the topic so I'm making new question.
I have a lot of ASCII files from other calculation S/W and I want to process the data using Labtalk. The x coodination value is in its file name like file1.din, file2.din, ... file102.din so on. The number in its file name has the information of x value of the result nd the file has the y value in ASCII form. So I need to extract the number from it file name and put it to the wks.
I use 'getfile -m' and 'open -w %a' to open the files. The variable %a has the value like 'c:\data\........\file1.din' how can I extract the file number from %a or is there any other marter way to do the same thing?
Any comment or advise will be helpful to me. Thanks