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. Changes to fpWeb...

    I have committed a serious change to the way fpweb handles requests. Especially routing of requests was changed. The old Delphi style routing worked with Datamodules…

    Michael Van Canneyt, Marcos Douglas B. Santos, Mr Bee
    6
  2. Does the system unit allow file locking/sharing?

    The oldschool way of opening files using the system unit (no sysutils) has the filemode variable.. system.FileMode := fmOpenRead; ... Assign(... Rewrite(... Can this be…

    Lars, Mark Morgan Lloyd
    2
  3. PascalScript broken by FPC 3.0 ?

    The pascalscripts that worked fine with lazarus 1.4 and fpc 2.64 are crashing when I try to run them in apps compiled with laz 1.6.2 or trunk. I get a SIGSEG attempting…

    Kapibara Pas, Bart, Lars
    6
  4. How to tell if file is locked, i.e. FileOpen in sysutils

    The fileopen function returns -1 on error, but there is no way to tell if the error is because of a lock, or another issue opening the file? I'm interested in finding…

    Lars
    0
  5. Free Vision etc. form editor

    I've just come across http://forum.lazarus.freepascal.org/index.php?topic=18998.0 which was asking about a dialog(ue) editor for Turbo/Free Vision. The links it cites…

    Mark Morgan Lloyd, Lars
    2
  6. alignment of types ( __alignof__ in fpc)

    Porting some C-headers. Ran, into a declaration: #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) _alignof_ seems to be a compiler attribute…

    Dmitry Boyarintsev
    0
  7. Dynamic arrays in LLDB

    I am trying to debug an FPC program that uses dynamic arrays. (Don't them all?) It seems to me as if LLDB can not handle them. I get this error: A1 is a dynamic array of…

    Ingemar Ragnemalm
    0
  8. Re: bitwise operations using AND, OR, XOR, NOT

    In the meantime I read some articles about the history of FPC and TP and Delphi and learned that these extensions had been made very early in this history. While I…

    Bernd Oppolzer
    0
  9. javapp

    In figuring out Android programming with FPC I've read about the "javapp" tool. However when I try to do anything with it spends some time doing nothing and then outputs…

    Jon Foster
    0
  10. FPC 3.0.0 seed compiler for Rasperry Pi ARM?

    I have a script for building FPC and Lazarus from scratch on Raspberry Pi. This script starts by downloading the seed compiler from this location:…

    Bo Berglund, Anthony Walter, Bart
    21
  11. JSON stream load/save recursive structure

    Can fpjson handle load AND save of the following structure from/to json: PTreeStructure = ^TTreeStructure; TTreeStructure = class name: string; value: Integer; items:…

    Xiangrong Fang
    0
  12. TProcess failed running Swift compiler

    I'm writing a simple editor for Swift language. I use TProcess to run the Swift REPL. Unfortunately, TProcess failed to execute the Swift REPL for no obvious reasons.…

    Mr Bee, Lukasz Sokol
    2
  13. C# translatation

    I’m going to attempt to translate a perlin noise function (from https://gist.github.com/Flafla2/f0260a861be0ebdeef76) but there are a few things that stopped me from…

    Ryan Joseph, Bernd Oppolzer, Dmitry Boyarintsev
    14
  14. Untyped var params

    I’ve seen functions that use the untyped params like: function GetSomething (var something): boolean; This seems like something useful I would like to use but how can…

    Ryan Joseph, Andrew Hall, Bart
    21
  15. FPC clean room project

    There's someone accusing that Free Pascal (and some parts of Lazarus) is just a reverse engineering of Delphi. Even he said some codes of FPC/Laz are taken from Delphi…

    Mr Bee, Dmitriy Pomerantsev, geneb
    30
  16. Repeat result in random

    Here is a short program to print 10 random numbers: program testrandom; var i: Integer; begin Randomize; for i := 1 to 10 do WriteLn(Random); end. If I compile and run…

    Tony, Pierre Free Pascal
    1
  17. questions on fpimage

    firstly a happy new year to you all and keep on rocking! While reading the fpimage unit code I found some pieces I don't understand and could not clear up reading the…

    Marc Santhoff, Mattias Gaertner
    2
  18. How to translate C macro

    Could someone suggest how to translate the following code to pascal? #define prev(X) ( *( (void **) ( ((void *) (X)) - 32 ) ) ) ..... prev(ptr) = prev(last); I tried…

    Darius Blaszyk, Santiago A.
    1
  19. Readln a password

    I wonder what the recommended way is to readln a password from console, as a standard Readln echoes the password. 1. SetConsoleMode seems to be Windows-specific 2. On…

    Adriaan van Os, Bart, Dmitry Boyarintsev
    14
  20. Question on type helpers

    Why is it that type helpers must be declared in the Interface section of a unit and cannot be private in Implementation section? Consider this (useless) example: unit…

    Bart, Sven Barth
    10
  21. FastHtmlParser does not fire OnFoundText on e.g. empty table cell

    If you parse HTML using FastHtmlParser in order to extract a HTML table content, then, if a table contains an empty cell (<td></td>), the OnFoundText event is not fired.…

    Bart, Graeme Geldenhuys, Lars
    6
  22. How to split file of whitespace separated numbers?

    Is there a quick way to split a string of whitespace separated values into the separate members? I have to create a function to process a number of big data files where…

    Bo Berglund, Gabor Boros, Graeme Geldenhuys
    24
  23. Linux installation, where to put fpc?

    On a Linux distro like for example Raspbian one could place the fpc compiler below /usr/xxx or in ~/fpc/xxx As far as I can see using /usr makes the installation need…

    Bo Berglund, Bart, leledumbo
    6
  24. FPC 3.0.2-rc1 CHM docs uploaded

    I uploaded CHM docs to FPC ftp site based on the current state (for FPC 3.0.2-rc1) On my private site I uploaded the same docs, but with the (very bulky) lazarus lcl.chm…

    Marco van de Voort
    0
  25. FPC 3.0.2rc1 available

    Finally, as a Christmas present, we have placed the first release candidate of the Free Pascal Compiler version 3.0.2 on our ftp servers. You can help improve the…

    Marco van de Voort
    0
  26. CoAP Implementation

    does anyone know if an implementation of RFC 7252 Constrained Application Protocol a.k.a CoAP exists for object pascal ? I searched but didn't find any . Dimitrios Chr.…

    Dimitrios Chr. Ioannidis
    0
  27. Using the LCL without Lazarus

    Most of the viewers of this message are probably already aware that I am totally blind and must rely on screen-reading software to put to voice that which appears on the…

    BobJ, fredvs, Graeme Geldenhuys
    21
  28. minimal database example

    I have a remote server with Ubuntu 14.04.1 LTS. I access the server via terminal console. Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 is installed.…

    duilio foschi, leledumbo
    1
  29. TFileStream.WriteBuffer() and RAM used ?

    Hello. In a audio library, it uses a buffer to record audio. There is a main loop that store the audio-data given by the audio-input device into the buffer. For this…

    fredvs, Jonas Maebe, José Mejuto
    16
  30. 3.0.2-rc1

    I notice an ftp folder for 3.0.2-rc1 has appeared, dated 10-Dec, but I cannot access the folder ftp://ftp.freepascal.org/pub/fpc/beta/3.0.2-rc1/ I get error "550 Failed…

    Peter, Graeme Geldenhuys, Jonas Maebe
    2

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