fpc-pascal
Subscribe to this list Your subscription
Latest threads
- ParamStr(0) buggy?5
at the end of ParamStr(0) there is a wrong character. A small testprogramm: <----------------------------------------------------------> Program t1; var i : longint ;…
- XMLcfg question3
I'm working with XMLcfg to do read and write to XML files. I want to extract data from the following XML file where element name is "second", how can I achieve that??…
- Reading past end of file, no error5
I am pretty sure that FPC 1.0.10 would give a runtime error when attempting to read past the end of file. E.g. program ReadPastEOF; var i: Integer; begin readln(i);…
- File dates on the FPC server1
Maybe this has no importance but some file dates are not correct on the server : ftp://ftp.freepascal.org/pub/fpc/snapshot/v20/i386-win32 File: base.i386-win32.zip 8496…
- Windows Type LPARAM, WPARAM7
I've been working with FPC 2.0.0 and Dev-Pas for some GUI efforts and another programmer pointed out an interesting thing, regarding the LPARAM and WPARAM types. I hope…
- compiling html docs from svn8
A few weeks ago I was able to compile fpcdocs from svn with a script: SVNDIR=/usr/portage/distfiles/svn-src BUILDDIR=/home/bobb/freepascal/svn/fpcdocs rm -rf ${BUILDDIR}…
- Re: ANSI String concatenation eats Linux RAM ?1
Possible cause is memory fragmentation. Please upgrade to 2.0.0 it has a rewritten memory manager.
- Re: Re: arbitrary number of parameters in procedure1
Hi Michael, I tested your proc but it don't want to ccompile . program follows: program test; var a,b,c,d:integer; res:double; Procedure AddNums(Var Result : Double;…
- Cross compiler win32/ARM error code 2 ?1
just trying to build fpc (today snapshot 2.1.X) for win32 plateform and wince arm target. i get the following error message ? D:\FPC\2.1.x-src>make all OPT=-vt…
- Two-dimensional dynamic arrays in C libraries1
I need to pass two- or three-dimensional dynamic arrays to C libraries from FPC. I know this is feasible with one-dimensional arrays, by using a pointer to the array:…
- Shortstrings/ ANSIStrings1
What is the main difference between the shortstrings (256 byte) and the ANSI Strings? I mean, upon using the Strings, we have plenty of functions, manipulating the…
- Extended float to single and pchar types4
I have a stdcall reference to a c based dll. called target.dll In c the setup is ... float Get_l1_BidPriceSingle(void* p); The Pascal reference is... function…
- exec with many params7
in linux I can't use the exec for executing a program with more than one parameter. I tried to supply more than a parameter separeted with whitespace, but it's not…
- FindPart and wildcards0
A simple question: how do I work with wildcards and "FindPart" ("strutils" unit) function? If I use writeln(FindPart('de?','abcdefgh')); i'll got "4", but if I use…
- 1
- Diff for GTK 2.60
I made this little patch thinking that the default GTK_2_2 define directive in gtk2.pas is really obsolete looking at the current versions (2.8.x and 2.6.x).
- arbitrary number of parameters in procedure1
Hi, I have not well understood the docs concerning tvarrecs. How can I create procedure which will accept arbitrary number of parameters? To demonstrate what I want:…
- set envirom variable with pascal in linux7
In Bach, Perl, can do set SDL_VER=`sdl-config --version` and in enviroment has the variable SDL_VER=1.2.3 for example. echo $SDL_VER 1.2.3 But in Pascal non have the…
- old code with readdir2
Error: Identifier not found "opendir" I have old code from freepascal older than 2.0.0, and I want to migrate to amd64 debian, but have this error, I have read in…
- BMP support improved, feedback welcome.0
Thanks to some excellent work from Giulio Berna, the support for BMP images in the FCL has been greatly improved (and as such should impact Lazarus) - BMP Reader…
- Re: KeyPressed0
Thanks! That was it. I had been working on removing the video unit. I put it back in and yanked the drivers unit. Now it works. (Although I'm not sure if the…
- Re: KeyPressed4
"Tomas Hajny" wrote, in part:
- Unit Graph and BGI fonts0
actually, I am just studying FPC, in order to better understand how to ride Lazarus... working with FPC 2.0.0, Lazarus 0.9.8 on win32 XP Home ed. system. During tests of…
- FEM pack in Pascal39
I am looking for an open and free FEM (Finite Element Method) package written in Pascal. I found many written in Fortran and C/C++ but nothing in Pascal/Object Pascal. I…
- Problem with freevision (winxp pro sp2 english)6
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Dear Ladies and Gentleman. I am trying to compile the fv example: C:\FPC\2.0.0\examples\fv\*.pas with the following…
- building docs from svn1
I've copied current svn of fpc2_fixes and fpcdocs to a working directory: asterix:svn> ls -ld fpc fpcdocs drwxr-xr-x 14 root root 4096 Aug 23 16:09 fpc drwxr-xr-x 44…
- Re: KeyPressed0
Thanks for the replies Michael, Eduardo, and Martin! It looks like I'll have to see what functions are being called to use the Video and Drivers units and see what I can…
- Type check for compile time expressions added0
Type checking of compile time expression has been added to Free Pascal Compile time expression are used in $IF/$IFC, and under mode MacPas, in $SETC This should…
- Linking pthread?3
Hi When I compile an application that uses libc under Linux I get: "/usr/bin/ld: cannot find -lpthread" From what I gather pthread is a standard library. How do I get the
- HeapError variable access1
I'm working with a unit someone developed for FPC in 2001. Compiling under FPC 2.0.0, I'm getting the following error... wErrors0.pp(279,23) Error: Identifier not found…
