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 Chriss Miller 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: *

  • Users: andjem1
  • Content: Threads
  • Order by date
  1. andjem1

    File IO

    Hi I am working on a program to perform various alterations and calculations on CNC Gcode. The problem I'm having is how to start an operation on an existing file, after the file is opened and displayed in a TRichEdit. Id like to use 'in memory' processing instead of reading each line of the...
  2. andjem1

    Memory leak?

    Hi everyone. I have an app that converts values in a text file (cnc gcode) displayed in a Richedit. The program works ok except that every time the program is run there is a noticeable drop in speed. Also the larger the file the worse the problem. i.e. 61000 lines take 6mins 30s and 87000 take...
  3. andjem1

    Working with text in TMemo

    Hi I've built a simple VCL that modifies a line of text (CNC G-Code) and displays result in a label. Now that the code is working ok, I want to use the same code to modify a g-code file loaded into a tmemo. I am having some trouble wih this. How do I get the program to move line by line through...
  4. andjem1

    Extract letters and numbers from a string.

    Hi I want to write a program to convert CNC GCode files. My problem is this; From the following code; N230G01X78.54Y34.75f300. I need to extract the letter X and the numbers 78.54, change X to B, perform a calculation and then pass back to the origional string. To get this...

Part and Inventory Search

Back
Top