[fpc-pascal] Printed documentation

2009-03-20 Thread Graeme Geldenhuys
Hi, I have been looking at the FPC documentation (August 2007) in pdf format. Wow, there is a lot - awesome work Michael! I know we are supposed to save the environment and trees (I'm a big fan of environmentally friendly procedures), but has anybody actually had those books printed and bound? C

[fpc-pascal] Web link to documentation

2009-03-20 Thread Graeme Geldenhuys
Hi, I know that to find the documentation for Free Pascal, I have to go to... http://www.freepascal.org/docs.var ...not the most intuitive URL. Most users would try the following without browsing the website (most other website work like this). http://www.freepascal.org/docs/ htt

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, I know that to find the documentation for Free Pascal, I have to go to... http://www.freepascal.org/docs.var ...not the most intuitive URL. Most users would try the following without browsing the website (most other website work like this). http://w

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Graeme Geldenhuys wrote: > Hi, > > I know that to find the documentation for Free Pascal, I have to go to... > >http://www.freepascal.org/docs.var > > ...not the most intuitive URL. > Most users would try the following without browsing the website (most > othe

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Graeme Geldenhuys
On Fri, Mar 20, 2009 at 10:00 AM, Vincent Snijders wrote: > > I wonder how many entries in apache error log can be found for these links > prior to your posting. IOW, I wonder how many people equals "Most users". I'm pretty sure there must be a few... ;-) Other website examples (just to name a f

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Graeme Geldenhuys wrote: > On Fri, Mar 20, 2009 at 10:00 AM, Vincent Snijders > wrote: > > > > I wonder how many entries in apache error log can be found for these links > > prior to your posting. IOW, I wonder how many people equals "Most users". > > I'm pretty sure there

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Graeme Geldenhuys
On Fri, Mar 20, 2009 at 11:22 AM, Michael Van Canneyt wrote: > > docs.freepascal.org now points straight to the documentation page. > Thanks! As Marco mentioned, it's not working yet, but that's probably a DNS update time issue. Regards, - Graeme - _

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > > I wonder how many entries in apache error log can be found for these links > > > prior to your posting. IOW, I wonder how many people equals "Most users". > > > > I'm pretty sure there must be a few... ;-) > > > > Other website examples (ju

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: > >> /usr/local/share/locale/, but the directory structure is there. > > > > I should have mentioned that it is FreeBSD. /usr/local is probably the same, > > writable by ports. ?I have .mo files in /usr/share/locale//LC_MESSAGES > > but also other LC_ fi

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: > >> I noticed that I had more direectories in /usr/lib/locale (echh with > >> it's compiles LC_xxx files) than I have /usr/share/118n/locales > >> directory. > > > > I've some in /usr/share/local and /usr/local/share/locale > > the ones in /usr/share/l

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Marco van de Voort : > In our previous episode, Henry Vermaak said: >> >> I noticed that I had more direectories in /usr/lib/locale (echh with >> >> it's compiles LC_xxx files) than I have /usr/share/118n/locales >> >> directory. >> > >> > I've some in /usr/share/local and /usr/local/shar

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: > > > > I wonder how many entries in apache error log can be found for these > > > > links > > > > prior to your posting. IOW, I wonder how many people equals "Most > > > > users". > > > > > >

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > P.s. Speaking about docs: I saw the current documentation is still badly > > linked. > > (the next/prev links) I also retried myself using the most recent tex4ht > > updates (januari 2009), and failed again, the links are still borked, though

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > I don't agree that the fact that HTML docs is secondary makes it > > automatically a non-issue :-) A "lesser" issue of course, but OTOH we have > > been messing with it for over ten years (I started with Latex2html 96) now, > > and it is still

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: > > > I don't agree that the fact that HTML docs is secondary makes it > > > automatically a non-issue :-) A "lesser" issue of course, but OTOH we have > > > been messing with it for over ten year

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > > > I'm thinking of trying to create an html fixer app. I know, that > > > > wouldn't be > > > > the first too, but at least it would be better than this. > > > > > > Feel free to do so... I will not stop anyone from doing so. > > > > > > Al

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: > > Personally I don't see the use of going this way. Why not simply use iconv? > > but that's just for char set conversion, how would we get the locale > data (like time/date format, etc)? i guess we have no choice but to > parse the definition files,

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: > > > > > I'm thinking of trying to create an html fixer app. I know, that > > > > > wouldn't be > > > > > the first too, but at least it would be better than this. > > > > > > > > Feel free to

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: > > > > P.s. Speaking about docs: I saw the current documentation is still badly > > > linked. > > > (the next/prev links) I also retried myself using the most recent tex4ht > > > updates (janua

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Marco van de Voort : > > Does the single unix spec define the exact format for these files? Since > otherwise they might vary between the 3/4 supported unices (solaris, OS > X/FreeBSD and > Linux) (OS X and FreeBSD sometimes share details) you are right, according to sus website the for

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Marco van de Voort : > In our previous episode, Henry Vermaak said: >> > Personally I don't see the use of going this way. Why not simply use iconv? >> >> but that's just for char set conversion, how would we get the locale >> data (like time/date format, etc)?  i guess we have no choice

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: > > Because the textmode versions might not be installed on all systems, the > > compiled versions might be OS specific, and if they ever change for linux > > distributions you have another problem at your hand. > > > > And IMHO it is not crucial enough

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Marco van de Voort : > In our previous episode, Henry Vermaak said: >> > Because the textmode versions might not be installed on all systems, the >> > compiled versions might be OS specific, and if they ever change for linux >> > distributions you have another problem at your hand. >> > >

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Henry Vermaak said: > > multiplatform and then maintained over time (hence: multiversion). > > i think you misunderstand me Seems I have. > i've looked at this thing ages ago and > come to the same conclusion. i'm just trying to convince the people > that scream "depend

Re: [fpc-pascal] Web link to documentation

2009-03-20 Thread Tom Verhoeff
On Fri, Mar 20, 2009 at 09:34:54AM +0200, Graeme Geldenhuys wrote: > > I know that to find the documentation for Free Pascal, I have to go to... > >http://www.freepascal.org/docs.var > > ...not the most intuitive URL. > Most users would try the following without browsing the website

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Bart
> Note that a bulky "read externally" alternative won't be enabled by default > in FPC anyway, so it doesn't even alleviate the "need to include clocale" > issue. The point is if in this case it is worth the trouble if most people > then > happily link to X or Lazarus. Personally I would like

[fpc-pascal] SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Funky Beast
Hi, I've found a bug in sqldb/firebird. Its reported here, with sample project to reproduce: http://bugs.freepascal.org/view.php?id=13340 Regards, Funky Beast ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailma

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Graeme Geldenhuys
On Fri, Mar 20, 2009 at 4:28 PM, Bart wrote: > > Personally I would like to see the formatsettings being localised by > default (by SysUtils), since on Windows it is (Delphi compatibility) > and I'd expect it ot be the same on all platforms. > For this reason a "bulky read external" alternative mi

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Bart said: > > Note that a bulky "read externally" alternative won't be enabled by default > > in FPC anyway, so it doesn't even alleviate the "need to include clocale" > > issue. The point is if in this case it is worth the trouble if most people > > then > > happily

Re: [fpc-pascal] SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Graeme Geldenhuys
2009/3/20 Funky Beast : > > I've found a bug in sqldb/firebird. > Its reported here, with sample project to reproduce: > http://bugs.freepascal.org/view.php?id=13340 What version of Firebird? How many bytes does a single record require? Maybe you reached the table limit in Firebird RDBMS? If I r

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > Personally I would like to see the formatsettings being localised by > > default (by SysUtils), since on Windows it is (Delphi compatibility) > > and I'd expect it ot be the same on all platforms. > > For this reason a "bulky read external" alter

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Bart : >>  Note that a bulky "read externally" alternative won't be enabled by default >>  in FPC anyway, so it doesn't even alleviate the "need to include clocale" >>  issue. The point is if in this case it is worth the trouble if most people >> then >>  happily link to X or Lazarus. >

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Graeme Geldenhuys
On Fri, Mar 20, 2009 at 4:54 PM, Marco van de Voort wrote: > > Well, if you are so strung up on orthogonality, maybe we should move the > windows detection to clocale also :_) Well it's simple for me really. I moved away from Lazarus LCL simply because of inconsistencies between platforms. Hence

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Marco van de Voort : > > Are they guaranteed default installed on most OSes ? It's pretty hard to > parse something that is not there. Also start inventorizing all possible > solutions on all possible distro's and OSes. no, none of my embedded systems have the definition files. also, th

Re: [fpc-pascal] locale solution for unix systems

2009-03-20 Thread Henry Vermaak
2009/3/20 Graeme Geldenhuys : > > Part of using fpGUI Toolkit is to greatly minimise library > dependencies (compared to other GUI toolkits like GTK, QT, LCL etc.). > This allows fpGUI based apps to run on a lot more "bare boned" systems > and platforms (new and old). but fpgui depends on x, right

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Funky Beast
Graeme Geldenhuys wrote: > 2009/3/20 Funky Beast : >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > > What version of Firebird? How many bytes does a single record require? > Maybe you reached the t

Re: [fpc-pascal] Pascal arrays vs TStringList.DelimitedText

2009-03-20 Thread Francisco Reyes
Paul Nicholls writes: Hi Francisco, regular arrays can start at whatever index you want: Var MyArray1 : Array[1..3] Of Integer; Thanks for the info and examples. Dynamic Arrays : MyDynamicArray : Array Of Integer; .. These always start with a zero index. This is very usefull too

Re: [fpc-pascal] Printed documentation

2009-03-20 Thread Francisco Reyes
Graeme Geldenhuys writes: Anybody know of a printing company in South Africa that will be willing to do a once off print? Searching google for book printing small quantities Returned a decent list. I think it would only be a matter of seeing which one is closer to you or can deliver to your

[fpc-pascal] Sending UDP packets windows, linux

2009-03-20 Thread Rainer Stratmann
With 2 Linux PC's this works, but I wanted to connect a Linux and a Windows computer. Would that be possible with UDP packets? fpsendto blocks the program now in windows. function socksend( d : pointer ; l : word ) : longint; begin result := fpsendto( inet_socket , d , l , 0 , @inetaddrsend ,

[fpc-pascal] TStream ReadComponent

2009-03-20 Thread Leonardo M . Ramé
Hi, I'm trying to read a file stream created using TMemoryStream's WriteComponent method with a Delphi 7 program. To read the component I use TMemoryStream's ReadComponent method. When I read use ReadCompoent, a EReadError is raised. Does anyone tried this?. The same program works perfectly in

Re: [fpc-pascal] TStream ReadComponent

2009-03-20 Thread Michael Van Canneyt
On Fri, 20 Mar 2009, Leonardo M. Ramé wrote: > > Hi, I'm trying to read a file stream created using TMemoryStream's > WriteComponent method with a Delphi 7 program. To read the component I use > TMemoryStream's ReadComponent method. > > When I read use ReadCompoent, a EReadError is raised. D