Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. sqldb how to find a record fast with primary key

    I am using sqldb to connect to a postgres database. Using wiki instructions, my final object is a TSQLQuery for each table. So, this basically is a TDataset and to read…

    Felipe Monteiro de Carvalho, Ludo Brands, Martin Schreiber
    12
  2. Why do string indices start at 1, but array indices start at 0?

    It's inconsistent and ripe for bugs. Andrew Pennebaker www.yellosoft.us

    Andrew Pennebaker, Andrew Haines, Jonas Maebe
    6
  3. Format() directives

    In the future, could Format respect the difference between '%x' and '%X'? It's useful to use the former for lowercase hexadecimal. Andrew Pennebaker www.yellosoft.us

    Andrew Pennebaker, waldo kitty
    2
  4. Unicode function names

    Out of curiosity, I've just tried creating a function named ⍳ (Unicode character 2373, i.e. the APL iota function). FPC trunk complains Fatal: illegal character…

    Mark Morgan Lloyd, Sven Barth, Unknown author
    3
  5. Reopen issue 20500: TSQLParser cant Parse Statements containing "as"

    The issue reporter gave this example: select ORDERNO as OrderNo from ORDERS as Orders; It does parse AS, but only for a field. Michael Van Canneyt replied: TSQLParser…

    Reinier Olislagers, Michael Van Canneyt
    3
  6. Compiling sources obtained via SVN

    I assume there's an expectation that the sources downloaded from trunk should compile on all platforms? I've just updated to 19505, and attempting to build on Linux Mint…

    brian, Mark Morgan Lloyd, Pierre Free Pascal
    4
  7. Stack corruption setting UnicodeString Char

    Usually when we work with PChars we do things like this to set the final terminator: var ansistr: ansistring; begin // Copy the originating string taking into account…

    Felipe Monteiro de Carvalho, Mattias Gaertner, Sven Barth
    5
  8. Getting Hardware information in Linux

    I'm trying to figure out how to get hardware information about the machine i'm running at in Linux OS. For example: hard-drive size, manufacture etc... BIOS information,…

    ik, Den Jean, Graeme Geldenhuys
    8
  9. CGI under Freepascal

    I am trying to use CGI with Pascal. I don't have background in web development, but principles of CGI seems to be simple. The first way could be FPWeb. However, I prefer…

    Luciano de Souza, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    3
  10. fpc has trouble with array types

    But, but, the docs imply that this is the syntax for a function that returns an array of bytes. fpc ios7crypt.pas ios7crypt.pas(3,25) Error: Type identifier expected…

    Andrew Pennebaker, Felipe Monteiro de Carvalho, Sven Barth
    8
  11. fpweb and reading the contents of a request

    I am trying to send data from javascript and read data back from my cgi module with this: SendSyncRequest = function(RequestURL, RequestContent) { var request = new…

    Felipe Monteiro de Carvalho, herux, Michael Van Canneyt
    12
  12. fpweb and custom debug log

    I see that when my CGI raises an exception we get a nice error message with a stack trace as a response. Is it possible to put some logging messages into this error…

    Felipe Monteiro de Carvalho, Michael Van Canneyt
    1
  13. Any command line interpreters for Free Pascal?

    E.g., if fpi existed, I would add a shebang like this to my code: #!/usr/bin/env fpi Andrew Pennebaker www.yellosoft.us

    Andrew Pennebaker, Alex Shishkin, Florian Klämpfl
    36
  14. More Filter Madness

    Mine is more of a *programming *problem, rather than one native to Pascal, but here goes: I have a text file with many Double values. Looking more or less like below,…

    Ko Hashiguchi, Alberto Narduzzi, Graeme Geldenhuys
    13
  15. RE : Problem passing pointers to "hidden" procedure

    On Sat, 15 Oct 2011 09:24:36 +0200 "Ludo Brands" wrote Oops! Silly me. But some kind of complaint from the compiler would have been helpful! Andrew Bennett

    Unknown author
    0
  16. Problem passing pointers to "hidden" procedure

    As part of an attempt at multi-threading, I have had to move many things that used to be global into the Implementation parts of units in order to enforce privacy. When…

    Unknown author, Ludo Brands, Sven Barth
    2
  17. How do I load external Pascal code?

    If I were using C, I would type: #include "code.h" If I were using Python, I would type: import code What's the command to load code in Pascal? And where do the load…

    Andrew Pennebaker, Jonas Maebe, Jürgen Hestermann
    15
  18. Stunnel replaced by FPC?

    For my remote assistance screen sharing project https://bitbucket.org/reiniero/checkride/ I'm currently using stunnel on Windows to tunnel VNC traffic over an SSL/TLS…

    Reinier Olislagers, Wimpie Nortje
    2
  19. FPC 2.4.4 - Error: Illegal type conversion: "Set of TMySet" to "Byte" ... and vice versa

    I am trying to compile my code which is compatible with Delphi and FPC 2.5.1+, but when I try to compile on Mac OS X with 2.4.4 I have error message: Error: Illegal type…

    fred f, Jonas Maebe
    1
  20. List of Integer/Double etc

    Hi, I'm wondering if the rtl or a standard package includes classes for handling lists of Integer, Double, and other types. Similar to TStringList, but for numerical…

    Leonardo M. Ramé, Sven Barth
    3
  21. Making a cross-compiler for STM32

    I'm trying to make a crosscompliler for STM32 (arm-embedded) on my linux-machine. I just downloaded a daily development snapshot and compiled it with : make clean…

    Koenraad Lelong, Jeppe Græsdal Johansen
    8
  22. OT A bit, will you vote for this feature request for FB ?

    I have created a feature request for Firebird SQL, to add support for multibyte characters when dealing with the string functions in FB.…

    ik
    0
  23. Reusing a TProcess object (issue 19997)

    Is it allowed to execute a TProcess object more than once? And if yes, different command lines be used? The reason I ask is issue 19997, each invocation of the compiler…

    Vincent Snijders, Sven Barth
    1
  24. Writing generic enumerator

    Is it possible to write one? Due to the nature of enumerator, the iterator and iterated class usually form mutual dependency. With normal classes, this is no problem as…

    leledumbo, Sven Barth
    1
  25. Linking to C++ DLL compiled with MSVC

    I've been trying to link to an external DLL which is unfortunately compiled using MSVC in C++ mode. The functions itself do not use any C++ features, they are just not…

    Michael Lutz, Sven Barth
    5
  26. Windows API translation - or better way to update system tray?

    (See http://lazarus.freepascal.org/index.php/topic,14847.msg79038.html#msg79038 for initial question) My program starts and stops external programs that have icons. It…

    Reinier Olislagers, Sven Barth
    2
  27. [Semi-OT] Git format patches don't seem to work

    Having some trouble creating patches that actually work. (On Windows) I've been using git to get FPC trunk and git diff --no-prefix > %temp%\mypatch.diff rem --no-prefix…

    Reinier Olislagers, Alex Shishkin, cobines
    29
  28. What about complex numbers?

    Hello Is complex number arithmetic possible in FPC? Another post recommends use unit so named ucomplex, but i can't find any detailed information of this in the…

    Carlos Avila, David Emerson, Jeppe Græsdal Johansen
    8
  29. freetype unit + unicode

    I am using the freetype unit (with linux) and would like to display some interesting unicode characters. However when I pass a string containing say U+2265 to…

    David Emerson, Graeme Geldenhuys, Unknown author
    8
  30. Error when translating a C header

    I tried to translate a C header with: h2pas -e -d -p iupkey.h I got the following error: at line 21 error : syntax error at line 41 error : syntax error Illegal…

    Luciano de Souza, Ludo Brands
    3

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999