[fpc-pascal] tstream files cross-platform ?

2009-12-22 Thread Dale Welch
how do you make a saved tstream cross-platform? for instance write.ansistring writes the length as a binary word in native format... which might not be the same native format on a different system. i am working on a program and need to save files which will be read on all systems. the data could b

Re: [fpc-pascal] Pascal Compiler - Missing Messages etc.

2006-07-21 Thread Dale Welch
Is there not a standard by distributions which tells software the standard place to install. I have noticed different distributions seem to have different preferences. :-) It seems there should be a file in /etc which would have defined places for installation of software, configuration informati

[fpc-pascal] error making latest svn of fpc

2006-07-06 Thread Dale Welch
when trying to compile current svn i get a variety of errors compiling in the utils directory relating to what appears to be the system unit. Any idea what is happening? /base/pasjpeg/units/i386-linux -Fu/usr/share/fpc/packages/base/ibase/units/i386-linux -Fu/usr/share/fpc/packages/ba

[fpc-pascal] dos.pp GetLongName and GetShortName for mswindows

2006-07-01 Thread Dale Welch
file rtl/win/dos.pp typo / problem in function GetLongName and GetShortName it has if ret = 0 then it should be if ret <> 0 then then it will work correctly. :-) because the ret value is 0 if invalid file / directory passed. ret is > then the passed bufferlen "255" if it needs a larger bu

Re: [fpc-pascal] google summer of code?

2006-04-27 Thread Dale Welch
http://code.google.com/summerofcode.html http://code.google.com/soc/mentorfaq.html#29 The project has to be under one of the approved licenses... and since lazarus is a modified lgpl it probably did not qualify. It must be OSI certified. http://www.opensource.org/docs/certification_mark.ph

[fpc-pascal] scope error? duplicate identifier property and parameter

2006-03-12 Thread Dale Welch
I am getting an error compiling with fpc 2.1.1 under lazarus with duplicate identifier that seems to be a scope error. Under lazarus all you have to do is add any dataset and add an onposterror event handler. it doesn't like that "Action" is both a property of an object and a parameter of a pro