fpc-pascal
Subscribe to this list Your subscription
Latest threads
- [OT] irc channel2
I've been to #fpc on irc.freenode.net on a few times. I could'nt find more than a couple of persons. Is it still used ? If so what is the best time to join #fpc ? (I…
- interfaces in FPC.0
I'm confused. 1.I want to use interfaces as a language construct within a single application/library. I don't want to build components that are managed across…
- Re: fpc-pascal digest, Vol 1 #1646 - 4 msgs8
I checked the CVS tree and could not find the bindings for Xt lib. Only X11 is found/bound. IIRC, its Xt that defines the Cardinal type. How do I workaround this problem…
- Arrays4
var tmpA: String; AA: String; tmpB: String; BB: String; DP: Integer; X: String; tmp: String; tmpX: Array of String; Can arrays like…
- /dev/lp00
I need to write directly on the parallel port s/linux; the aim is to send MIDI files on an very good interface (MusicQuest 8port/se) which is no longer supported by the…
- FPC for AngelBase2
To the Pascal Community: A huge THANKS to all of you who responded to my many recent questions. The final decision is now made that the AngelBase(TM) kernel will be…
- stack and heap sizes4
The {$M} directive can be used to set the stack and heap size. How can I find out what the default stack and heap sizes are if {$M} is NOT used? Mark
- Setting priorities in FPC under W981
I am using FPC v1.06 since 1 month, and have no trouble at all converting from BP7.0 to FPC. So far I have only 1 question : How can I set the priority of my (MS-DOS)…
- compiler bug?5
The following program compiles but crashes with an integer range error when it gets to the comparison: {$R+} var a : cardinal; b : longint; begin a := 0; b := -1; if a >…
- motif bindings.1
Is there a binding for MOTIF/Xt/X11 libs ? I tried using h2pas on the headers but it bombed when encountering the Cardinal typedef in the headers. help appreciated.…
- Porting SDL1
I develop on a linux box, creating a class invaders clone with the SDL library. Could someone help me with porting it to windows, as I'll need to do that fairly soon. As…
- runtime error 1831
I received runtime error 183, but it is not documented in user.pdf. What does it mean? Mark
- adding zero4
In certain cases I find it useful for documenting my code to show "+0" when indexing an array...e.g. x := a [m*n + 0]; Is the compiler smart enough to ignore my "+0"?…
- 1
- Using FPC to write an OS.8
How do you use FPC for writing your own OS, kernel etc... I've read posts of this before, saying that you use the fakertl in the FPC sources. However that doesn't help…
- Length function on ansistrings3
Does the Length function applied to an ansistring return (1) the actual length of the string (determined by the position of the null terminator) or (2) the maximum…
- ALERT - GroupShield ticket number OB7_1041674489_REKT_1 was gene rated0
Action Taken: The message was quarantined and replaced with a text informing the recipient of the action taken. To: From: sly_marbo135 Sent: 1075896960,29537240 Subject:…
- ansistring question5
Consider the equation in the if statement: var a, b : ansistring; begin a := 'hello world..and a lot of other stuff to make this string long'; b := a; if a=b then write…
- typed constants12
[questions 1-3 and Michael's responses snipped] It does not compile because of the "nil"...c
- file access0
I that files can be accessed by the old Type FILE, then I discovered the unit Classes, where TFileStream is defined. And now I saw in the description of the unit…
- 3 Windows IDE questions0
1. I've got the IDE up and running in Windows....but all I have is a DOS window with its extreme limitations on visible rows and columns. Is there another version of…
- Working with pictures/images...0
Hello! I would like to write programs which can process / work-with pictures, but I never did such stuff before. (I use FPC 1.0.4 on LINUX.) What I want to do at the…
- {$W} directive1
What is the default state of $W or $STACKFRAMES directive? What advantage could possibly be gained by turning it OFF?
- 0
- 0
- Bug with virtual methods3
Hi! Please have a look at the attached program. There are two classes, the second one inherits all methods from the first one. The method M1 with the string parameter is…
- Performance: Free Pascal vs GNU Pascal10
How fast is the code generated by FPC versus GPC? Have there been any benchmarks comparing FPC with GPC....especially on Windows...in other words how well are these…
- Sockets in Linux...3
Greetings... Is there source code included in FPC for Linux that is just a basic definition of socket calls in Linux? Something that would be similar to Winsock.pp…
- The Macintosh1
I will ultimately need to deliver on all the major platforms, including Mac. What might I reasonably expect in the next 1-2 years for FPC on the Mac? I noted Jonas's…
- Dereferencing Nil Pointers2
I did not find "Attempted to dereference a NIL pointer" as a runtime error in FPC (except for error 204 which involves calls to dispose or Freemem). For example: var x :…
