Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2003-10

  1. fpc 1.0 and 1.1 incompatibility

    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).…

    Vincent Snijders, Matt Emson, Peter Vreman
    4
  2. Calling Procedures via pointers

    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…

    Andy Powell, Anton Tichawa
    3
  3. Sending files over a Nullmodem cable

    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…

    Karim, Marco van de Voort
    6
  4. gpm library compiled by default ?

    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…

    James Mills, Laurent Cocea, Marco van de Voort
    9
  5. Re: Mac compiler

    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…

    Olle Raab
    0
  6. Trivial Graphics on Linux?

    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…

    Rainer Hantsch, Anton Tichawa, Unknown author
    2
  7. working with bitmaps

    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…

    Rudolf Harney, Ivan Montes, Jeff Pohlmeyer
    16
  8. CRT Window Colors

    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…

    Krall Ed-P27726, Ralf A. Quint
    1
  9. Better Alternative to delay()

    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…

    George Patterson, Arne Hanssen, Darek Mazur
    2
  10. Error Trapping w/ ReadKey

    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…

    Darren Reynolds, Marco van de Voort
    1
  11. GTK: Layout Container Example

    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

    Peter Huesser
    0
  12. disable background bitmap in IDE?

    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

    Laurent Cocea, Frank W McCormick, Unknown author
    2
  13. IDE text resolution on Win32?

    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…

    Laurent Cocea, Florian Klaempfl
    1
  14. GTK: multiline label

    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…

    Peter Huesser, Gene Buckle, James Mills
    5
  15. GTK2: GTKArrowType

    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

    Peter Huesser
    0
  16. AW: GTK: multiline label

    one possibility is: Lbl := gtk_label_new('Line1 '#10' Line2'); // for UNIX or Lbl := gtk_label_new('Line1 '#10#13' Line2'); // for DOS/Windows

    ZINTEL Gerhard
    0
  17. MySQL 4.0 Files

    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…

    Johann Glaser, Bernhard Steffen, Florian Klaempfl
    11
  18. Cross-Compiling Debian/Linux -> FreeBSD

    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…

    James Mills, Lee, John
    5
  19. Pascal and ghostscript.

    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…

    Geoff Bagley, Marco van de Voort, Michael Van Canneyt
    2
  20. General Question on code optimization...

    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…

    Rainer Hantsch, Marco van de Voort, Peter Vreman
    4
  21. Hidding private fields in a class

    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…

    Adam Victor Brandizzi
    0
  22. GTK problem

    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…

    Peter Huesser, Marco van de Voort, Michael Van Canneyt
    4
  23. TCP client required... List still active??

    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…

    George Patterson, Lukas Gebauer, Michael Van Canneyt
    5
  24. .ppu and .o files

    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…

    Andy Sy, Alan Mead, Ivan Montes
    3
  25. range-checking observations and questions

    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;…

    Andy Sy, Peter Vreman
    1
  26. switch suboption usage

    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…

    Andy Sy
    0
  27. Fast answers in the mailing list

    Woah... those answers sure are coming in fast! Am I on IRC? :-)

    Andy Sy, James Mills, Marco van de Voort
    2
  28. RE: No runtime range checking?

    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…

    Lee, John, Andy Sy, Lee
    7
  29. Re: An 'all debug options enabled' command line switch

    -CRriot works

    Peter Vreman, Andy Sy, Michael Van Canneyt
    3
  30. Getting the size of an array

    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…

    Andy Sy, Peter Vreman
    1
  31. /usr/bin/ld: cannot find -lgd errorr

    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…

    Andy Sy, Georgi Georgiev, Marco van de Voort
    4