Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2013
    Posts
    1
    Rep Power
    0

    Exclamation In.open() hilfe...

    Ich möchte gerne ein Programm schreiben, aber i komme einfach nicht weiter.
    Ich bräuchte unbedingt eine Code Zeile um in den In.open() befehl eine variable hineinschreibe.
    Ich habe viele text datein mit nummern als namen gespeicher und jetzt möchte ich sie aufrufen :D

    Mein Versuch :D
    String x = "\""+ Integer.toString(kontonummer)+".txt\"";
    In.open(x);

    An alle die es nicht wissen normal schreibt man In.open("NamenDerDatei.txt");

    Bitte Helft mir ;)

    Euer BlueJ_Grünschnabel

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: In.open() hilfe...

    Moved from Advanced Java.

    Quote Originally Posted by Google Translate
    I would like to write a program, but i just can not get past.
    I need necessarily a line of code to the In.Open () command into a variable write.
    I have many text datein with numbers stored as name and now I want to call it: D

    My attempt: D
    String x = "\" "+ Integer.toString (account number) +" "txt \.";
    In.Open (x);

    To all who do not know you normally writes In.Open ("NamenDerDatei.txt");

    Please help me;)

    your BlueJ_Grünschnabel
    Learn how to use code tags:
    Guide For New Members
    BB Code List - Java Programming Forum - Learn Java Programming

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Different Files Open in File -> Open Workspace
    By mgm2010 in forum JCreator
    Replies: 0
    Last Post: 04-11-2009, 03:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •