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-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 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
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 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 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 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

[fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread fpclist
Hi guys, Over the last few years, I have written hundreds of thousands of lines of object pascal code that compiles successfully using the FPC and Delphi. To date, I have not encountered any problems with the code generated by the FP Linux compiler. I don't have much experience with FPC within

Re: [fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread Jonas Maebe
On 08 May 2009, at 19:02, fpcl...@silvermono.co.za wrote: In your opinion, how would you rate the suitability of the FPC generated code for use in an environment where there is near zero tolorance to failure? Unsuitable. There are no systematic unit tests for most parts of the compiler,

Re: [fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread Gustavo Enrique Jimenez
Hi Nino: I am using FPC since 2000-2001. I use it for data aquisition and temperature control. Console programs compiled with FPC 1.x work for days, even weeks. In the "Laboratorio de Física del Sólido, Tucumán - Argentina" (Solid state physics laboratory) we have used programs compiled with FPC

Re: [fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread Leonardo M . Ramé
Wow!, is good to know I'm not the only Argentinian using FPC. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Fri, 5/8/09, Gustavo Enrique Jimenez wrote: > From: Gustavo Enrique Jimenez > Subject: Re: [fpc-pascal] A question or two regarding the FPC > To: "FPC-Pascal users discussio

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
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
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 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 question or two regarding the FPC

2009-05-08 Thread Mattias Gaertner
On Fri, 8 May 2009 14:35:52 -0300 Gustavo Enrique Jimenez wrote: > Hi Nino: > > I am using FPC since 2000-2001. I use it for data aquisition and > temperature control. Console programs compiled with FPC 1.x work for > days, even weeks. In the "Laboratorio de Física del Sólido, Tucumán - > Argen

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 question or two regarding the FPC

2009-05-08 Thread Vinzent Höfler
Mattias Gaertner : > But I second Jonas mail: Before you run an fpc program in a > zero-tolerance environment, you have to test a lot of things, because a > lot of code was not written with zero-tolerance in mind. Testing simply isn't enough. As we all should know, testing only proofs the exista

Re: [fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread Hans Mårtensson
Mattias Gaertner wrote: On Fri, 8 May 2009 14:35:52 -0300 Gustavo Enrique Jimenez wrote: Hi Nino: I am using FPC since 2000-2001. I use it for data aquisition and temperature control. Console programs compiled with FPC 1.x work for days, even weeks. In the "Laboratorio de Física del Sólid

Re: [fpc-pascal] A question or two regarding the FPC

2009-05-08 Thread Vinzent Höfler
Von: "Hans Mårtensson" : > But then, in case of zero-tolerance, if you trust the compiler, what > about the OS? and, worst, what about your program? And what about the CPU? ;) > I wouldn't trust the reliability of anything before the full system has > been tested under working conditions. Wha