fpc-pascal · 2003-10
- fpc 1.0 and 1.1 incompatibility4
The program below can be compiled with fpc 1.0.10, but not with this week's fpc 1.1. With fpc 1.0.10 it gives the following output, (which is as I would expect).…
- Calling Procedures via pointers3
I've been away from Pascal for about 10 years now and have just started to get back into it. So, spank me hard and call me a newbie if you must... Anyhow, onto the…
- Sending files over a Nullmodem cable6
Hello I play with the thought to write a socket program. This program should transfer large data files from my main computer to my notebook. For the connection, I want…
- gpm library compiled by default ?9
I noticed the other day that one of my FPC programs which does not in anyway shape or form use the gpm or any mouse libraries actually requires the gpm library to be…
- Re: Mac compiler0
Hello Thanks for asking, and sorry for late answer, but I haven't read the msg in this group for a while, sorry. As an answer to your and others questions, we have…
- Trivial Graphics on Linux?2
Hello! I am interested in a demo which does really trivial graphics on LINUX, compiles fine with FPC 1.0.4, and does basically that what a normal TurboPascal for DOS can…
- working with bitmaps16
Hi! I want to create a coloured overlay over a (geographical) map. I do have the map as a bitmap and I wrote a fpc program, creating informations for the map (ASCII file…
- CRT Window Colors1
Is there any way to get a white background color for a console window? I use textbackground (white) from the CRT package, but the window is gray. Ed…
- Better Alternative to delay()2
I am using the delay function to pause for an amount of time which works but will not allow the user to stop the program from the console, using ctrl-C. If I could trap…
- Error Trapping w/ ReadKey1
Just getting into the "planning" phase of a personal project I'm working on, and one of the things I'm trying to do is predict where there's going to need to be some…
- GTK: Layout Container Example0
Hello Does anybody has an example of how to use the layout container ? An example in "c" would be fine too. Thank's for any help Pedro
- disable background bitmap in IDE?2
Is it possible to disable the background bitmap/splashscreen in the IDE on Win32, and set it to blue, as in the original TPC IDE? Thanks. -Laurent
- IDE text resolution on Win32?1
Hi all- How can I chnage the IDE window area size (text resolution) on Win32? In Options|Environment|Preferences the only video mode available is 80x25 and I would like…
- GTK: multiline label5
Hello How ist possible to make initialize in fpc a multiline label. Something like Lbl := gtk_label_new('Line1 \n Line2'); I guess but with what do I have to replace the…
- GTK2: GTKArrowType0
Hello Is the GTKArrowType not implemented yet in the GTK2 (Version 1.0.5). If not: is there a list what is allready implemented in GTK2 and what not ? Thank's Pedro
- AW: GTK: multiline label0
one possibility is: Lbl := gtk_label_new('Line1 '#10' Line2'); // for UNIX or Lbl := gtk_label_new('Line1 '#10#13' Line2'); // for DOS/Windows
- MySQL 4.0 Files11
Hi! Some months ago I developed a program using MySQL as backend database. This was MySQL 4.0 and therefore I used the MySQL 4.0 units. They have been stored in…
- Cross-Compiling Debian/Linux -> FreeBSD5
Is there an easy way of cross-compiling other than what I"m currently doing (using a shell account), to cross-compile from Debian/Linux to FreeBSD ? If there is, I will…
- Pascal and ghostscript.2
Please can anyone tell me whether it is possible to "pipe" or "filter" the output of Free Pascal through ghostscript in order to plot graphs on a laserjet printer ? I…
- General Question on code optimization...4
Hello! I wrote a unit for using MySQL a long time ago. It is basically the mysql unit, but with some modified/added functions to make life easier. But it is still…
- Hidding private fields in a class0
Is there a way to hide the private class fields from the rest of this unit? Something like a compiler directive? Or is there some plan to do it? I'm a newbie and there's…
- GTK problem4
Hello I am just learning gtk and try to translate the examples in the "GTK+2.0 Tutorial" from Tony Gale and Ian Main to fpc. In chapter 7 there is a simple button…
- TCP client required... List still active??5
Sorry about the noise but is this list active?? I am trying to write a simple tcp/ip client but can not find anything in the 'net (using Google anyway). I did find a…
- .ppu and .o files3
Upon compiling the freepascal compiler from cvs, I noticed a lot of .o and .ppu files generated in addition to the final executable. What is the difference between .o…
- range-checking observations and questions1
Apparently, activating -Cr is needed to enable enforcement of compile time constant range checking as well. The ff. program: program blah; var E: array[2..4] of Integer;…
- switch suboption usage0
fpc accepts -glc, but will it work? Or does one need to do -gl -gc? For the help screen, what does the <x> after the switch invocation actually mean? You have multiple…
- Fast answers in the mailing list2
Woah... those answers sure are coming in fast! Am I on IRC? :-)
- RE: No runtime range checking?7
Did you turn it on when you compiled... default is off. J FPC doesn't even complain about range exceeded whether during compilation or runtime... isn't this an egregious…
- 3
- Getting the size of an array1
In Delphi (the later versions I suppose), it is possible to get the size of an array, and not just the size of a String, using Length() Is this not available yet in…
- /usr/bin/ld: cannot find -lgd errorr4
I've noticed that in many of the example programs that come with FreePascal, trying to compile them results in an link error where ld claims it cannot find a particular…
