Help me txt file

hi friends,
I have a txt of an abap program,
i want to do following,
1. check the program using ABAP_ Standards,
2. Line by line verification ,
Points awarded if helpful.
Thank you,
Regards,
Jagrut BharatKumar Shukla

how to goto slin and wha is FOE and how to go,
another thing to say i want to check  txt file of abap program ,
for this is it useful,
thank you.

Similar Messages

  • Help with .txt files importing / showing

    I am working cs4. / as 3.0
    I need some help understanding placing text with .txt files.
    I have a txt & css file in my site folder.
    Do I need to add a line to my script to locate the files in
    my site folder?
    Any help would be appreciated. thanks
    Here is what I have so far.
    var fileTxt:String;
    var myTextLoader:URLLoader = new URLLoader();
    var cssLoader:URLLoader = new URLLoader();
    myTextLoader.addEventListener(Event.COMPLETE, onloaded);
    myTextLoader.load(new URLRequest("textInfo.txt"));
    function onLoaded(e:Event):void {
    fileTxt=myTextLoader.data;
    callCss();
    function callCss():void {
    var cssRequest:URLRequest=new URLRequest("stylesSite.css");
    cssLoader.addEventListener(Event.COMPLETE, onCss);
    cssLoader.load(cssRequest);
    function onCss(e:Event):void {
    var css:StyleSheet = new StyleSheet();
    css.parseCSS(cssLoader.data);
    infoText.styleSheet=css;
    infoText.wordWrap=true;
    infoText.htmlText=fileTxt;
    infoScroll.update();

    Thanks for the information. Am I missing something or you forgot to actually post a question?
    What are the problems you have? What have you tried and how did not it work?
    Mike

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • Java code to create a new .txt file in FTP server  --- Help

    Hi,
    I wrote a standalone java app which creates a .txt file in my local machine and transfers it to FTP server. But my requirement now is to create a new .txt file with the same content in FTP server itself instead of creating locally with basic java code.
    I'm aware of transfering file from local machine to the FTP server using STOR command of FTP. But i never tried creating a new file & writing content into that in FTP server.
    So, if any one did this before please help me out with source code or any idea ???
    Thank you.
    Vj.

    simply_vijay wrote:
    thanks for your reply. yes i've seen the Apache Commons NET API , but there is no method or class to create a new file in FTP server. I'm really worried how to solve this problem ???Sure there is.
    There's a method where you can write data to a file on the server using an OutputStream, right? Well, instead of writing to a FileOutputStream, write to that OutputStream instead. Remember to close the OutputStream and call the method which says you're finished with the command (I forget what it's called).

  • Help.  Does use of .txt file make sense or code directly into an ArrayList

    I am writing my first program and I want to put a series of information in various .txt files. This is because I will have a lot of different objects that I will create that will needed to be iterated over (most of the objects are similar in many ways). It seemed to me that a .txt file would be better than writing the items directly in an arraylist (if you know what i mean). What do you think?
    There will be 7 different objects that will be iterated over (and there will be 12 other objects doing other things as well, they will not be in .txt format), and I thought instead of having to maintain it through the actual code, I would just have .txt files that I create in notepad or something so that when I need to make changes to one of the 7 objects I only have to get the .txt file instead of having to wade through the code to find that object.
    Does this make sense?
    It seems that I will now have to do a lot of I / O to make it work, so now I am thinking maybe it is better to simply use the arrylist. Is there a benefit of one over the other in this circumstance?
    Also one of the objects has jpeg files that will need to be iterated over. Actually for these I will put them in an array list, because I can't seem to figure out yet how to get an image and the information about the image to display within I/O (like CD covers and their titles).
    Thank you for any help and suggestions I feel a little overwhelmed, but hopeful, with you kind folks.
    Peace
    NB I know that I am not using the correct terminology, but I hope that you can understand what I mean.
    Message was edited by:
    peacerosetx

    I am writing my first program and I want to put a
    series of information in various .txt files. Thisis
    because I will have a lot of different objects thatI
    will create that will needed to be iterated over
    (most of the objects are similar in many ways). It
    seemed to me that a .txt file would be better than
    writing the items directly in an arraylist (if you
    know what i mean). What do you think? I think I do not know what you mean. I also think
    that ArrayLists and files shouldn't replace eachI am going to use an ArrayList. Merci
    other.
    There will be 7 different objects that will be
    iterated over (and there will be 12 other objects
    doing other things as well, they will not be in.txt
    format),Seven objects? Twelve objects? Huh? Why not use
    arrays? And how do you get an object into a text
    file?
    and I thought instead of having to maintain
    it through the actual code, I would just have .txt
    files that I create in notepad or something sothat
    when I need to make changes to one of the 7 objectsI
    only have to get the .txt file instead of havingto
    wade through the code to find that object.
    Does this make sense? Your description? Not to me.
    It seems that I will now have to do a lot of I / Oto
    make it work, so now I am thinking maybe it isbetter
    to simply use the arrylist. Is there a benefit of
    one over the other in this circumstance? Uh, ArrayList is way faster and much easier
    modifyable.
    Also one of the objects has jpeg files that willneed
    to be iterated over. Actually for these I will put
    them in an array list, because I can't seem tofigure
    out yet how to get an image and the informationabout
    the image to display within I/O (like CD coversand
    their titles). "Display within I/O"? This makes no sense.
    NB I know that I am not using the correct
    terminology, but I hope that you can understandwhat
    I mean.If you're not using the correct terminology, there's
    no chance for us to understand you. If you say
    "objects" but mean "classes", then say classes.

  • Replace the text numbers string in a txt file using C++.. Help Me..

    Read a Document and replace the text numbers in a txt file using c++..
    For ex: 
    Before Document: 
    hai hello my daily salary is two thousand and five and your salary is five billion. my age is 
    twenty-five. 
    After Document: 
    hai hello my daily salary is # and your salary is #. my age is #. 
    All the text numbers and i put the # symbol.. 
    I am trying this code: 
    #include <iostream>
    #include <fstream>
    #include <string>
    using namespace std;
    ifstream myfile_in ("input.txt");
    ofstream myfile_out ("output.txt");
    string line;
    void find_and_replace( string &source, string find, string replace ) {
    size_t j;
    for ( ; (j = source.find( find )) != string::npos ; ) {
    source.replace( j, find.length(), replace );
    myfile_out << source <<endl;
    cout << source << endl;
    int main () {
    if (myfile_in.is_open())
    int i = 0,j;
    //string strcomma ;
    // string strspace ;
    while (! myfile_in.eof() )
    getline (myfile_in,line);
    string strcomma= "two";
    string strspace = "#";
    find_and_replace( line , strcomma , strspace );
    i++;
    myfile_in.close();
    else cout << "Unable to open file(s) ";
    system("PAUSE");
    return 0;
    Please help me.. Give me the correct code..

    Open the file as a RandomAccessFile. Check its length. Declare a byte array as big as its length and do a single read to get the file into RAM.
    Is this a simple text file (bytes)? No problem. If it's really 16-bit chars, use java.nio to first wrap the byte array as a ByteBuffer and then view the ByteBuffer as a CharBuffer.
    Then you're ready for search/replace. Do it as you would in any other language. Be sure to use System.arraycopy() to shove your bytes right (replace bigger than search) or left (replace smaller than search).
    When done, a single write() to the RandomAccessFile will put it all back. As you search/replace, keep track of size. If the final file is smaller than the original, use a setLength() to the new size to avoid extraneous data at the end.

  • Help needed saving text members to TAB delimited txt file

    I have 7 text memebrs each containing several lines of text
    that were pulled in and sorted from a TAB delimited text file.
    What I'd like to know is, is there any way to convert those
    text members back into the TAB delimited format from which they
    came? I'd like to be able to pull in the data, let it be edited to
    some extent, then saved back out..... and I'm not too sure how to
    go about it.
    Example of txt file:
    ID_No Name Age
    1 Phil 26
    2 Sam 34
    3 Mary 21
    They're then sorted in to text files of ID_No, Name, and Age,
    with the lists of the relevent items in each.
    Like.....
    ID_No
    1
    2
    3
    Name
    Phil
    Sam
    Mary
    Age
    26
    34
    21
    Certain lines of these text members change, depending on what
    the user selects. I'd like to put these sections back in their
    original TAB delimited format, but with any changed data replacing
    the old, so next ime the app is opened the new data is pulled in
    from the txt file.
    I know I'm probably going about this the wrong way, but it's
    the only way I know so far lol
    Any ideas?

    global filex, idlst, namelst, agelst
    on readtabline (str)
    tmpstr = ""
    y = 1
    repeat with x = 1 to the number of chars in str do
    if str.char[x] = tab then
    case y of
    1 : idlst.add (tmpstr)
    2 : namelst.add (tmpstr)
    3 : agelst.add (tmpstr)
    end case
    tmpstr = ""
    y = y + 1
    else
    tmpstr = tmpstr & str.char[x]
    end if
    end repeat
    agelst.add (tmpstr)
    end
    on exitFrame me
    idlst = [] --set up some lists to hold that data we read in
    namelst = []
    agelst = []
    filex = new (xtra "fileio")
    filex.openfile ("t.txt", 1)
    indata = filex.readfile() -- read the data in
    filex.closefile()
    filex = void
    repeat with x = 1 to the number of lines in indata do
    readtabline(indata.line[x]) --seprate it into its diffrent
    elements
    end repeat
    -- you now have your data sorted in to three list of id, age
    and name
    -- so you would now do what ever editing you wanted to do
    --now to write it out to a new file
    filex = new (xtra "fileio")
    filex.createfile (the moviepath & "tout.txt")
    filex.openfile (the moviepath & "tout.txt", 2)
    repeat with x = 1 to idlst.count() do
    filex.writestring (idlst[x] & tab & namelst[x] &
    tab & agelst[x] & return)
    end repeat
    filex.closefile()
    end
    I tested this on your exact scenario and it worked a brezze
    hope it helps
    Regards
    David

  • How to download a .txt file correctly. Please help as soon as possible!

    Hi everybody,
    I need to implement download that prompts the user to save a txt file.
    If I use "attachment" in response.setHeader, my IE 5.50 crashes after downloading 4 to 6 files consecutively.
    I tried to change the response.setHeader to "inline" and the response.setContentType to "application/zip" or "application/UNKNOWN", and although it works in IE 5.50, my IE 5.00 never prompts asking to save the file, it always opend the file into the browser window, and I need a prompt.
    I saw many questions related with this problem in this forum, but none that answered accurately to this problem.
    Please help as soon as possible, I dont have much time to do this.
    Thank you very much.

    Thank you gypsy617 for your reply, but it still does not work!
    I made all the changes to
    1)res.setContentType("application/x-download");
    2)res.setHeader("Content-Disposition", "attachment; filename=" + filename);
    3)OutputStream out = res.getOutputStream();
    4)returnFile(filename, out);
    5) and i sent the file content as bytes
    But the real problem is regarding the "attachment" option !!!
    In my application, in the same page, there are a lot of links that users can download, each one a link that calls a action. It works well for the first downloaded file, for the second, ..., and then, when we try to download the file number 4 or 5, IE says that there is a problem and it must close (and it asks us to send a report - something like "Exception Information Code:0xc0000005 Flags:0x00000000 Record:0x0000000000000000 Address:0x0000000077a7710a").
    I know that the problem is the "attachment" because if I choose "inline", IE never crashes. But i really need a Save As dialog, the txt files cannot be openned into the browser window, so i cant use inline.
    Any idea?
    Thank you.

  • How to read .txt file into a 2D array ? Pls help !

    I have a .txt file with contents as shown :
    1 0 1 0 1 0 1 0
    1 0 1 1 1 0 0 1
    1 0 1 0 1 0 1 0
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    1 0 1 1 1 0 0 1
    and so on...until 10 samples in total.
    How do I create a class which has a method (which I can call later) to put all those binary digits in a 2-D array ? The method should automatically extract data from the .txt file and put it into a 2-D array. How do I do that please ?
    Please help someone ? It's pretty urgent....:-(

    This one takes the cake: essentially the same question, cross-posted 11 times:
    http://forum.java.sun.com/thread.jsp?thread=560218&forum=57&message=2752602
    http://forum.java.sun.com/thread.jsp?thread=560219&forum=426&message=2752600
    http://forum.java.sun.com/thread.jsp?thread=560220&forum=31&message=2752599
    http://forum.java.sun.com/thread.jsp?thread=560220&forum=31&message=2752583
    http://forum.java.sun.com/thread.jsp?thread=560220&forum=31&message=2752519
    http://forum.java.sun.com/thread.jsp?thread=560219&forum=426&message=2752518
    http://forum.java.sun.com/thread.jsp?thread=560218&forum=57&message=2752517
    http://forum.java.sun.com/thread.jsp?thread=559967&forum=31&message=2750787
    http://forum.java.sun.com/thread.jsp?thread=559968&forum=57&message=2750767
    http://forum.java.sun.com/thread.jsp?thread=559967&forum=31&message=2750751
    http://forum.java.sun.com/thread.jsp?thread=559964&forum=426&message=2750734
    DON'T CROSS-POST! Send your question to one forum. You waste people's time
    doing anything else.
    How To Ask Questions The Smart Way

  • Help with input output .txt files!

    Hi i'm a student and totally new to programming. I need the program to read a .txt file and then output it:
    import java.io.*;
    import java.util.*;
    public class Reading{
         public static void main(String[] args)throws Exception{
              Scanner scanner = new Scanner(new File(args[0]));
              while(scanner.hasNext()){
                   System.out.println(scanner.next());
              scanner.close();
    and
    import java.io.*;
    public class Writing{
         public static void main(String[] args)throws Exception{
              String outputFile = args[0];
              PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(outputFile)));
              for(int i = 0; i < 100; i++){
                   writer.println(i * i);
              writer.close();
    How would i merge these together? I also changed the command line to java Reading Input.txt but it wont run on DrJava on my computer or laptop and i get an error? How do i then store the strings into an arraylist and iterate throught the arraylist to reverse the strings?
    Please help.

    You could do this...
    import java.io.*;
    import java.util.*;
    public class FileIO2
         public static void main(String argsp[])
              String readfile="ajr.txt";
              String writefile="ajr2.txt";
              try{
              read(readfile);
              write(writefile);
              catch(Exception e)
              {e.printStackTrace();}
         public static void read(String filename) throws Exception
              Scanner scanner = new Scanner(new File(filename));
              while(scanner.hasNext()){
                   System.out.println(scanner.next());
              scanner.close();
         public static void write(String filename) throws Exception
              String outputFile = filename;
              PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(outputFile)));
              for(int i = 0; i < 100; i++){
                   writer.println(i * i);
              writer.close();
    }

  • Help in reading a csv txt file!

    hey i have a problem with this code, Im trying to read a txt file, containing users and scores, and list scores separate, but I get the fist 3 scores empty(0) can any one help plz?
       String uname;
        int theScore;
        int noScores = 0;
        int [] scores;
         public highScores()
            try
                   FileReader gamers = new FileReader( "Gamers.txt" );
                  BufferedReader br = new BufferedReader( gamers );
                  String stringRead = br.readLine( );
                  while( stringRead != null )
                        StringTokenizer st = new
                              StringTokenizer( stringRead, "," );
                      String uname = st.nextToken( );
                      theScore = Integer.parseInt( st.nextToken( ) );
                      noScores = noScores + 1;
                      scores = new int[noScores];
                      for(int i = (noScores - 1);i < noScores;i++)
                              scores[i] = theScore;
                    System.out.println("" + uname + "," + theScore);
                      stringRead = br.readLine( );
                   br.close( );
                   for(int i = 0;i < noScores;i++)
                        System.out.println("" + scores);
              catch( IOException ioe )
              ioe.printStackTrace( );
    //file im reading from (Gamers.txt)
    Usename,1234
    Me,678
    you,456
    them,698
    //output
    Usename,1234
    Me,678
    you,456
    them,698
    0
    0
    0
    698
    Press any key to continue . . .

    Why are you creating the score array inside he while loop? What's that for? It looks like it's for all the scores, but if you have 3 lines, then you're creating 3 different scores arrays--one with 1 element, 1 with 2 elements, and 1 with 3 elements.
    For all but the last one, you're creating it, populating the last element, then throwing it away.
    For the last one, you create it, populate the last element (leaving the first three with their default value of 0) and then that's what gets printed.
    When you have this kind of problem, print out a bunch of relevant stuff (and even some stuff that you think is not relevant) at each step of the way, so ou can see what your code is doing. Yout THINK you know what it's doing, but obviously you're mistaken. If you can't figure it out from staring at it, then you'll have to let the code itself tell you what's really going on.
    You'll have to create the array before you start the while loop, which means you'll have to know ahead of time how many scores you have, or know some maximum that you could possibly have and make it big enough to hold that many.
    Or,instead of an array, you couse use a List, such as java.util.ArrayList.
    http://java.sun.com/docs/books/tutorial/collections/

  • Help reading a .txt file from the hard drive....

    Hi guys,
    Ok... I need to know how to read a .txt file from the hard drive... I have an example on how to read from a disk, but I don't have a disk drive. I could be confusing terminology, but I don't think I am. Here is the code I have for reading from a disk.. please let me know how I should change it to read from a hard drive.
    Also, when the error pops up, it says that it can't read another .txt file that is not specified in the code... any ideas how that is occuring? Please advise.
    import java.io.*;
    public class TEST {
    public static void main(String args[]) throws Exception{
    FileReader fr = new FileReader("customer.txt");
    BufferedReader bfr = new BufferedReader (fr);
    String s;
    while ((s=bfr.readLine())!= null){
    System.out.println (s);
    fr.close();
    }

    Ok... I need to know how to read a .txt file from the
    hard drive... I have an example on how to read from a
    disk, but I don't have a disk drive. I could be
    confusing terminology, but I don't think I am. Here
    is the code I have for reading from a disk.. please
    let me know how I should change it to read from a
    hard drive.The code will be the same, regardless of where the file is located. It's just the filename that will be different.
    Also, when the error pops up, it says that it can't
    read another .txt file that is not specified in the
    code... any ideas how that is occuring? Please
    advise.Probably becuase the class file (compiled version of the source code) is a different version to the source code, i.e. the source code hasn't been recompiled since the source code was changed.
    How does this relate to EJBs?

  • Help! How to read a .txt file into a Java class and make 2D array?

    Hi guys,
    Im a newbie with arrays, just started really using them.. please bear with me if I don't seem to understand much..
    I have a .txt file that contains either a square or rectangle (random width and length).. How can I read each line into a Java class into a 2D array with rows and columns?

    Example :
    import javax.swing.*;
    import java.util.ArrayList;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.File;
    public class ReadInto2DArrayExample {
        public static void main(String[] args) {
            ArrayList array = new ArrayList();
            char [][] twoDimesionArray = null;
            try
                JFileChooser fileChooser = new JFileChooser();
                if (fileChooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION)
                    File file = fileChooser.getSelectedFile();
                    BufferedReader reader = new BufferedReader(new FileReader(file));
                    String data;
                    //Read from file
                    while ((data = reader.readLine()) != null)
                        //Convert data to char array and add into array
                        array.add(data.toCharArray());
                    reader.close();
                    //Creating a 2D char array base on the array size
                    twoDimesionArray = new char [array.size()][];
                    //Convert array from ArrayList to 2D array
                    for (int i = 0; i < array.size(); i++)
                        twoDimesionArray[i] = (char [])array.get(i);
                    //Test the 2D Array
                    for (int y = 0; y < twoDimesionArray.length; y++)
                        char [] temp = twoDimesionArray[y];
                        for (int x = 0; x < temp.length; x ++ )
                            System.out.print(temp[x]);
                        System.out.println("");
            catch (Exception ex)
                ex.printStackTrace();
    }

  • How do I read txt file and add items to dropdownlist or checkbox

    I want to add items to a dropdown or check box by reading from a text file(and select one of them). (I donot use any table or database). The list of items is sometimes upto 20MB and hence cannot populate using session bean.I want items to be added to either checkbox or listbox during a button action. I have done this for textarea but unable so far to acheive for checkbox or listbox. I use following code which does not work:
    public String button3_action() {       
    try{           
    FileReader fr = new FileReader "F:/CreatorProjects/checkboxtst.prs");
    BufferedReader br = new BufferedReader(fr);
    String s;
    while((s=br.readLine())!=null) {
    dropdown1.setValue(s);
    br.close();
    fr.close();
    }catch(Exception e) {
    e.printStackTrace();
    return null;
    I know I cant just transplant textarea code for dropdownlist or checkbox.
    Any help is greatly appreciated.
    Thanks.
    Dr.AM.Mohan Rao

    I am able to read from txt file to a listbox if i write in sessionsbean1:
    try{
    FileReader fr = new FileReader("F:/CreatorProjects/checkboxtst.prs");
    BufferedReader br = new BufferedReader(fr);
    String s1="";
    String s="";
    while((s=br.readLine())!=null) {
    s1 = s1+s;
    s1= s1+"\n";
    disOptions = new com.sun.rave.web.ui.model.Option[] {              
    new Option(s1,s1)};
    diseases = new String[] {};
    fr.close();
    br.close();
    catch(Exception e) {
    e.printStackTrace();
    But I get all data in one line!! if I click submit button text area gets all. How to display items in each line????Please help...
    Dr.AM. Mohan Rao

  • Reading values from txt file

    Hi,
    I was hoping someone could help me. I am trying to read these values
    3.182, 0.02734, 1126.0, 4.998E-4, 0.01581, 11.0, -150.3, 10.46, 3.735, 0.8474, -0.4854, 0.7866, 1.475, 0.9439, 0.769, 0.1846, 0.07678, -0.9491, -1.236, -0.9908, 0.5265, -0.27, 0.3569, -0.09167, 0.1295, -0.04507, 0.1029, -0.03005, 0.0, 0.03752, 0.001151, 0.2935, 74.84, 19080.0, 6.086, etcfrom a txt file. I have done some coding on it but dont seem to be getting the desired results. I want to take these values and put them in a 2D array.. but its not doing it. Can you see any mistakes i have done please ?
    public double[][] readFile(){
              double[][] dArray = new double[164][37];
              int a  = 0;
            int b = 0; 
                    try
                    {  FileReader fin = new FileReader("myFile.txt");
                               BufferedReader in = new BufferedReader(fin);
                                 String line;
                                 while((line = in.readLine()) != null){
                                String[] value = line.split(", ");
                                for (int x=0; x<value.length ; x++){
                                     System.out.println("a:  "+a+" || b: "+b);
                                         if (b == 37) {
                                                a = a++; 
                                            } else
                                                dArray[a] = Double.parseDouble(value[x]);
                             System.out.println("value: "+dArray[1][1]);
                             b++;

    Yes thats because its part of larger code.. it is just a method within my code.
    but your right about the catch but so yeah sorry i missed it when i copied pasted. I ve also added you a main method.
    public double[][] readFile(){
              double[][] dArray = new double[164][37];
              int a  = 0;
            int b = 0; 
                    try
                    {  FileReader fin = new FileReader("myFile.txt");
                               BufferedReader in = new BufferedReader(fin);
                                 String line;
                                 while((line = in.readLine()) != null){
                                String[] value = line.split(", ");
                                for (int x=0; x<value.length ; x++){
                                     System.out.println("a:  "+a+" || b: "+b);
                                         if (b == 37) {
                                                a = a++; 
                                            } else
                                                dArray[a] = Double.parseDouble(value[x]);
                             System.out.println("value: "+dArray[1][1]);
                             b++;
              catch (IOException e){}
              return dArray;     
    public static void main(String[] args) {
              new Extract();
              }/code]

Maybe you are looking for

  • Function Module RSDRI_DATA_WRAP_V

    BI Experts, As part of BI 7.0 SAP has delivered a Function Module 'RSDRI_DATA_WRAP_V' which is basically called by the Function Module 'RSDRI_INFOPROV_READ_RFC'. In our particular case we are exposing FM ' RSDRI_INFOPROV_READ_RFC' as a web service. U

  • SSIS package fails under SQL Server Agent job

    Hi All I have designed a SSIS package to encrypt a file using Cipher (EFS) it works fine from BIDS & Package Execution Utility. But SQL Server Agent job is failing to do this. I am getting the error as " In executing C:\Windows\System32\Cipher.exe /e

  • ADD-ON XL Reporter: Error installing XL Reporter in various PCs

    Hi, I went to a customer yesterday install XL Reporter and some templates. The customer has 3 PCs in a workgroup. I install XL on the first PC and works without problems. On the others, the PC frozes and i received the following error: Error Preparin

  • Essbase Error(1042017)

    Hi, I get this error when i run this business rule. Detail:Cannot calculate. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP.  Check network connections.  Increase the NetRetryCount and/or Ne

  • IPTC extended metadata panel in Bridge CS5

    Hi, hope someone can help me here. I am working in a museum digitizing paintings and using Bridge CS 5 to enter the metadata. IPTC extended is ideal for that, but I can not access the metadata panel to the side. I have found it in the preferences (an