Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-03

Slight problem

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

James Mills

Hi all,

I have a slight problem I cannot solve.
Attached is the source.
The file temp has test nicks you can paste into the test program.

datatest has the following commands:

a - add nick (paste lines from the temp file)
d - delete nick
l - list nicks
i - identify a nick

The problem is, when a single nick is added,
and then identified, it creates a duplicate.
One of the nick not identified, and the other with it identified.

By identified, I mean that a nick is added to a TString object inside the nick, called access.

If someone would kindly look into this, I'd be very gratefull.

cheers
James