?
Solved

Parsng text

Posted on 1998-04-29
3
Medium Priority
?
142 Views
Last Modified: 2010-04-06
I want to take a text file (ex: C:\Demo\emp.txt) containing code numbers and their cooresponding descriptions and open it up and parse out the text to different data fields, but I'm not familiar with how to do this with Delphi?????
0
Comment
Question by:dpms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1339502
Hi dpms,

Inter has made a tool for this some days ago. I can send it to you...

Regards, ZiF.
0
 
LVL 1

Expert Comment

by:millerw
ID: 1339503
You might want to try Lex and Yacc for Turbo Pascal.  Its up to version 4.01 now and it is just like the Lex and Yacc on Linux.  If you are interested:

http://www.musikwissenschaft.uni-mainz.de/~ag/tply/tply.html

Lex builds the lexical analyzer while yacc builds a compiler to actually read the lexical tokens you created with lex.  You can also use them separately if you want.  

If you need more info, just write.

Scott
0
 
LVL 1

Accepted Solution

by:
ssite earned 100 total points
ID: 1339504
Just lay it out like an ini file and use TInifile !
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question