Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Agustin Barto
I did a little more testing, and the console based apps fail too, with the same access violation exception. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Agustin Barto
I integrated the generated parser and libs with the old code and now I get a lot of run-time errors. I traced some of them to lexlib's assigns of the default input and ouput so I commented out those (It's a GUI app anyway). But then I started to get access violations. What puzzles me is that my con

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Michael Van Canneyt
On Fri, 10 Dec 2004, Steve Williams wrote: > > Actually, do you think you could extend this and > > create a bridge between streams and text files ? > > > > I mean 2 calls like > > > > First: Text->Stream. > > > > Var > > f : Text; > > S : TSTream; > > > > begin > > AssignTextStream(F,S);

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Steve Williams
> Actually, do you think you could extend this and > create a bridge between streams and text files ? > > I mean 2 calls like > > First: Text->Stream. > > Var > f : Text; > S : TSTream; > > begin > AssignTextStream(F,S); > Rewrite(F); > Writeln(F,'Something'); // Writes actually to stream

Re: [fpc-pascal] Customizing tply

2004-12-10 Thread Michael Van Canneyt
On Fri, 10 Dec 2004, Michalis Kamburelis wrote: > Hi, > > I'm attaching my unit TextReader, it > > - implements TTextReader class (that is able to read from any TStream > class using simple Readln and Eof methods) and > > - initializes/finalizes some variables to treat standard input/output > li