What you are looking for is known as a dictionary, if I understand you correctly. In other languages it is known as an associative array or sometimes a hash. You are going to want a modern version of Delphi, I'd guess 2010 or XE.
If you can't access those then you'd need a 3rd party library, or a home grown based off a TStringList. In fact TStringList can operate in a dictionary like mode but it's a bit clunky. You declare the dictionary as follows: dict: TDictionary; You can add do it as follows: dict.
Add(box1. Text, box2. Text); The first parameter is the key.
The second is the value. Think of this as an array but indexed with a string rather than an integer. If you want to recover a value then you use: dictkey; In your case you would write: box4.
Text := dictbox3. Text; If you want to save to a file then you would iterate over the dict: var item: TPair; ... for item in dict do AddToTextFile(item. Key, item.
Value); I've ignored all error handling issues, dealing with adding keys that already exist, asking for keys that are not in the dict, and so on. But this should give you a flavour. I'd recommend reading up on associative arrays if you aren't already familiar with them.
I'm sure there will be a page on Wikipedia and you would do worse than read an tutorial on Python which is sure to cover them – the issues are really the same no matter what language you consider.
– Andreas Rejbrand Feb 18 at 21:08 @Andreas em-dash is too long for that context, it's en-dash that you want, ALT+0150! – David Heffernan Feb 18 at 21:09 @David: OK. In Sweden we only use EN, so maybe EM is a US thing.
– Andreas Rejbrand Feb 18 at 21:10 @Andreas I mean, I think the grammar police would do me for using en-dash there, but I prefer it! – David Heffernan Feb 18 at 21:11 1 you don't want 4 columns. – David Heffernan Feb 18 at 21:42.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.