Re: [fpc-pascal] Access inherited^2

2008-08-10 Thread Vincent Snijders
Johann Glaser schreef: Hi! How can I access an inherited inherited method which was overloaded? Try the following, mark the constructors as overloaded: == Example: == {$mode objfpc}{$H+} Program TestInherited; Uses Classes, SysUtils; Type TFirst = class Constructor

Re: [fpc-pascal] Unit/library for writing data structures to files

2008-08-10 Thread Michael Van Canneyt
On Sat, 9 Aug 2008, Francisco Reyes wrote: I looked through the contributed units in the http://freepascal.org site and did not see anything that could take an array or some other data structure and write it to disk. Also the library would need to do the opposite, read from disk into a data

Re: [fpc-pascal] Access inherited^2

2008-08-10 Thread Johann Glaser
Hi! Am Sonntag, den 10.08.2008, 10:01 +0200 schrieb Vincent Snijders: Johann Glaser schreef: Hi! How can I access an inherited inherited method which was overloaded? Try the following, mark the constructors as overloaded: == Example: == {$mode objfpc}{$H+} Program

Re: [fpc-pascal] Unit/library for writing data structures to files

2008-08-10 Thread Francisco Reyes
Michael Van Canneyt writes: You can also try the Classes unit if you use object oriented programming. Each component can write itself to stream. Played a little bit with the Classes unit. Don't really see any benefit over justin writing records directly. Am I missing something? Also when

[fpc-pascal] Pascal equivalent to split/explode commands?

2008-08-10 Thread Francisco Reyes
Is there anything simmilar to the functions other languages have split/explode? I will be reading a delimited file, usually tabs, and want to parse it into variables or some form of array. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Unit/library for writing data structures to files

2008-08-10 Thread David W Noon
On Sun, 2008-08-10 at 16:51 -0400, Francisco Reyes wrote: Michael Van Canneyt writes: You can also try the Classes unit if you use object oriented programming. Each component can write itself to stream. Played a little bit with the Classes unit. Don't really see any benefit over justin

Re: [fpc-pascal] Pascal equivalent to split/explode commands?

2008-08-10 Thread leledumbo
Francisco Reyes-2 wrote: I will be reading a delimited file, usually tabs, and want to parse it into variables or some form of array. You can use TStringList for that purpose. -- View this message in context:

Re: [fpc-pascal] Unit/library for writing data structures to files

2008-08-10 Thread Francisco Reyes
David W Noon writes: Incidentally, from your first message in this thread, you said you were writing an OLAP application. You might care to look at PostgreSQL as a database manager. It does rather nice OLAP functionality, straight out of the box -- and it's free. Somewhat offtopic... Im a