Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Jamesis

    File Read+Write

    Thank you! I learned a lot from this! I've finally decided to use a TFileStream with read/write and seek. One more thing, I've figured out how to make my file bigger(I just write white space the file and it grows :) But how can I make my file smaller? Can I write something from a position in...
  2. Jamesis

    Simple String Problem

    Ahh thanks for the explanation, I thought I could get away with this in Java at least
  3. Jamesis

    Simple String Problem

    Okay, so apparently, delphi tells me that I've got incompatible types because I'm missing brackets. Its fixed, just need brackets around each or statment.. sorry new to Delphi
  4. Jamesis

    Simple String Problem

    Hello! I've ran into a rather small problem that I can't solve. I get an error when I try to see if my string = to ' '? At first I had: ------------ tmpPos : string; tmpSize : string; .. if (tmpPos = ' ' or tmpSize = ' ' ) then .. .. end; ----------- however, the above doesn't work.. I get the...
  5. Jamesis

    File Read+Write

    Ahh Thanks. But you say that the file system can't work in what way? Are you saying that I must always open the entire contents? Thanks for the example you posted! This file that I'm using should always maintain the same size. In other words.. if I edit line 2 (below) and there isn't enough...
  6. Jamesis

    File Read+Write

    Isn't this going to delete my current file? I'm actually just trying to edit Line 1 of an existing file. I'd like to preferably do this without opening the file because I need this to be efficient. So my text file, ------- tmp.txt ------------ just writing some stuff hello last night I went...
  7. Jamesis

    File Read+Write

    I’m trying to write to a single line in a ASCII text file and apparently writeln() only works to append to a file. What should I use to be able to write to a single line in a text file?? i.e Without opening up the entire file and rewriting it. Can I even do this? Any help would be appreciated.

Part and Inventory Search

Back
Top