Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
No problema! At 15:01 8/5/2009, you wrote: Ah, now I see that you already gave an example output ... sorry -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Mattias Gaertner
On Thu, 07 May 2009 18:12:50 -0300 Arí Ricardo Ody wrote: > Suppose the following structure: > > 01 a-1. > 03 b-1 pic xxx. > 03 b-2 pic 999. > 03 b-3. >05 c-1 pic aaa. >05 c-2. > 07 d-1 pic zzz. > 07 d-2 pic xxx. >05 c-3 pic 99. > 03 b-

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Felipe Monteiro de Carvalho
Ah, now I see that you already gave an example output ... sorry -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
Hi Felipe! If you was talking with me, please explain better. [ ] Ricardo At 14:49 8/5/2009, you wrote: I didn't fully understand the original problems. You have already posted an example input, please add also an example output for the same input for the routine you are trying to build. -- F

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Felipe Monteiro de Carvalho
I didn't fully understand the original problems. You have already posted an example input, please add also an example output for the same input for the routine you are trying to build. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
The conversation is becaming off topic. I wouldn't like to discuss this matter here. We have a great expertise in language conversor development here. We can discuss it in private. Be my guest. I'm needing a solution to the problem I propose. Cheers Ricardo Sao Paulo - Brasiç At 11:33 8/5/2

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread David W Noon
On Fri, 2009-05-08 at 09:41 -0300, Arí Ricardo Ody wrote: > It's out matter but, I'm working with legacy > modernization. The company I work deals with > legacy modernization. Mainly in mainframes So, are you trying to convert COBOL code to some more modern language? If not, I still don't unde

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread fpclist
Have you considered using XML to represent and structure your data? If you must do it with TStringList, you could declare a dynamic array of TStringList and instantiate the array elements at will at runtime. Also, each string entry in the TStringList can hold a pointer to any object that you de

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
I think I don'understand 'cause I need a TStringList with a known different nam for each group item(as proposed in the original e-mail) [ ] At 20:51 7/5/2009, you wrote: Arí Ricardo Ody wrote: [snipped] I can't create StringList with a variable name. I must previously declare each one in m

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
It's out matter but, I'm working with legacy modernization. The company I work deals with legacy modernization. Mainly in mainframes [ ] At 19:40 7/5/2009, you wrote: On Thu, 2009-05-07 at 18:12 -0300, Arí Ricardo Ody wrote: > Suppose the following structure: > > 01 a-1. >03 b-1 pic xxx.

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Arí Ricardo Ody
Show me an example of what you are talking about please. I think I don't understand your post. [ ] At 20:51 7/5/2009, you wrote: Arí Ricardo Ody wrote: [snipped] I can't create StringList with a variable name. I must previously declare each one in my pascal source. How can I solve the trou

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-08 Thread Martin Friebe
Arí Ricardo Ody wrote: Suppose the following structure: 01 a-1. 03 b-1 pic xxx. 03 b-2 pic 999. 03 b-3. 05 c-1 pic aaa. 05 c-2. 07 d-1 pic zzz. 07 d-2 pic xxx. 05 c-3 pic 99. 03 b-4 pic zzz. 03 b-5. 05 e-1 pic zzz. All line not containing

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-07 Thread Doug Chamberlin
Arí Ricardo Ody wrote: [snipped] I can't create StringList with a variable name. I must previously declare each one in my pascal source. How can I solve the trouble proposed? I don't understand this part of your message. Does this mean you think you cannot dynamically create TStringList ins

RE: [fpc-pascal] A complex trouble(at least for me)

2009-05-07 Thread Cox, Stuart TRAN:EX
ilto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of David W Noon Sent: Thursday, May 7, 2009 3:40 PM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] A complex trouble(at least for me) On Thu, 2009-05-07 at 18:12 -0300, Arí Ricardo Ody wrote: > Suppose the following structure: > > 01 a-1.

Re: [fpc-pascal] A complex trouble(at least for me)

2009-05-07 Thread David W Noon
On Thu, 2009-05-07 at 18:12 -0300, Arí Ricardo Ody wrote: > Suppose the following structure: > > 01 a-1. >03 b-1 pic xxx. >03 b-2 pic 999. >03 b-3. > 05 c-1 pic aaa. > 05 c-2. > 07 d-1 pic zzz. > 07 d-2 pic xxx. > 05 c-3 pic 99. >03 b-4 pic zzz.

[fpc-pascal] A complex trouble(at least for me)

2009-05-07 Thread Arí Ricardo Ody
Suppose the following structure: 01 a-1. 03 b-1 pic xxx. 03 b-2 pic 999. 03 b-3. 05 c-1 pic aaa. 05 c-2. 07 d-1 pic zzz. 07 d-2 pic xxx. 05 c-3 pic 99. 03 b-4 pic zzz. 03 b-5. 05 e-1 pic zzz. All line not containing the word pic I would ca