fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Classes/Objects/Pointers18
Sorry to bother you again, can't seem to see what I'm doing wrong it's the same as my dynamic code for strings... var nicks: PNick; nNicks: Integer; procedure…
- Classes and copying3
With respect to classes (and perhaps also objects), how do you copy the contents of a class in memory (an object) to another? ie: var a: TClass; b: TClass; begin a :=…
- RE: Classes/Objects/Pointers / Pointer Help15
RE: Dynamic arrays, What about using the Tcollection? Is there any dis-advantage? I know a lot of TP Programmers swear by them.
- RE: Classes/Objects/Pointers / Pointer Help0
Before you go and write one, DUnit might fit that bill. I think it's on sourceforge, but will also be somewhere in the JEDI pages too. We just *need* a complete VCL drop…
- FPC Problem with reAllocMem...2
I've annoyed you guys enough with pointers, objects and clases :P I'm sorry :) This bugs me though as to why this program crashes at the 4th call to addNick(nick:…
- isprime()7
I made a function of 116 lines in assembler: isprime(n: cardinal): boolean; which returns true if a cardinal is prime, false otherwise. The routine is fast and uses only…
- Macros in FPC6
I was wondering if I could do something like this with a macro in FPC: const HASH_TABLE_MASK = $ff; function GetHashIndex ( hash :dword) :integer; begin result := hash…
- Understanding the compiler sources1
I want to understand how a compiler works. So I thought I could search a little open source Compiler (FreePascal is very big and I think I had a better overview with a…
- OpenBSD snapshot uploaded.0
Pierre and me managed to fix a lot of bugs in the *BSD platforms. As a result, even though still a bit raw, the OpenBSD port starts to get usable. A snapshot was…
- graph unit and the mouse4
Does anybody know a way to read the mouse at pixel resolution while using the graph unit? Mark
- RE: Classes/Objects/Pointers / Pointer Help0
This is where Classes are better than objects... This will only work if you don't reference any thing that is instantiated by the constructor, i.e. all Methods and…
- Amiga snapshot uploaded.4
I've uploaded a new snapshot for the amiga,which is available at this url: ftp://ftp.freepascal.org/pub/fpc/snapshot/v10/amiga/m68k/baseami.lha Hopefully the unit…
- Pointer Help10
Sorry if this is trivial, but I'm sick of it :) I'm using fpc to convert my (originally delphi) code to read and write ini style files, however writing will not work as…
- Error: The object arg1 has no VMT2
Dear all, I get the error "Error: The object TINTERPOLATION has no VMT" when trying to compile one of my programs with the option -Sd (delphi mode), but not in normal…
- Performance testing of FPC programs?7
Hi all, I have a relatively large FPC program that I suspect have a few bottlenecks (regarding processing speed). Are there any ways I can test how long time the program…
- Profiling and memory leaks1
Do you know of any tools I can use to check for memory leaks on my code? I'm using FPC 1.1 snapshots under Win2k. cheers, Ivan
- Linking to Windows15
According to the Free Pascal Programmers manual chapter 4.1 it is possible to specify an external Windows function with: Procedure ProcName(Args: TProcArgs); external…
- Mouse question restated0
Thanks for the replies. I'm NOT interested in running on text-based screens. I want to run in high resolution graphics and need a pixel granularity mouse driver for…
- Unit Graph with Linux (Knoppix) or alternative unit5
I've got a question again :) I get the mistake, which is described in the FAQ under my Knoppix Distribution: a missing >Svgalib library in your unix install. Please…
- Mouse Unit3
The mouse unit appears to support resolution only at "character" granularity. What about pixels?
- Errors?0
maybe I have seen two errors in 1.0.6 (Linux): Program Test; {$R+} Var ch : 'A'..'C'; begin writeln('Hello'); ch:=char(75); writeln(ch); end. Should give a range check…
- wxWindwos with FreePascal ? Or other GUI2
Is it possible to use the wxWindows API (C++) with freepascal. Has anybody ever used it ? Do someone have any sugestions about a GUI which can be used on any platform ?…
- Error compiling compiler with the latest cvs0
Just downloaded the latest cvs, and during compilation the process complains with following message : varutils.ppw variants.ppw cpu.ppw mmx.ppw charset.ppw ucomplex.ppw…
- 1.0.6 problem2
I just recently upgraded to FPC 1.0.6 (Debian testing-SID), one of my programs now doesn't compile because of this error. functions.pas(42,2) Error: Incompatible types:…
- Amiga snapshot (was heap and stack size )0
and >sysamiga.o has different dates and wan'ts to compile it again but As there is >no RTL source files it can't do it. Old amiga 0.9.5 files won't do it and >win32…
- Amiga snapshot (was heap and stack size )1
I've finally done the script for creating snapshots for the amiga target. I'll upload a an amiga snapshot this monday. Since this is not a full release, you'll have to…
- Free Instance2
I don't Understand, I compile this code with FPC 1.06 for Windows and the directive compiler -S2 -Rintel. is it a bug?. Thanks Type TClase1 = Class campo1:string; End;…
- Run Time Error codes4
Hello: Does anyone knows what means the next error codes: 998, 313. And where find information about the applications exit code? I'm under win32 platform, fpc 1.0.6…
- Destroy Instance3
I don't Understand, I compile this code with FPC 1.06 for Windows and the directive compiler -S2 -Rintel. is it a bug?. Thanks Type TClase1 = Class campo1:string; End;…
- CGI4
Quisiera saber como se hace un programa CGI, para leer un formulario html y enviar su contenido por email en un servidor Windows (IIS). � How to make a CGI program in…
