Re: [fpc-pascal] Pascal postscript reading library

2008-04-22 Thread Ricardo Aguiar
Greeintgs again! There is another program named "pstoedit". They have a site: http://www.pstoedit.net/ Ok, it is in C/C++. But I hope this can help you. Reinvent the wheel is always dificult. This all raises a question: What about the dificulty of using external C/C++ libs in Linux (and wi

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-21 Thread Ricardo Aguiar
ource or memory > uses > > AnObject := TAnObject.Create; > try > > some code > > if (b) then >exit; > > some code > > finally > AnObject.Free; > end; > > Now Exit leave the procedure without freeing "AnObject". > We need a new E

Re: [fpc-pascal] Pascal postscript reading library

2008-04-21 Thread Ricardo Aguiar
Greetings. In Linux (at least in Debian) there is a program named "extract" who extracts text from .pdf and .ps files. This program uses a dynamic library (libextractor) and your program can use it dynamically without any problem. The only restriction is about linking against static librarie

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-18 Thread Ricardo Aguiar
Hi! GCC and almost all the other C implementations have the goto statement. It is just ugly and dangerous use it many times in a program. But IMHO any compiled language should have goto because many times we need to do unstructured code to run fast (in complex search code for example). So go