Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-06

  1. Working Free Pascal android JNI example

    I've done a working Free Pascal android JNI example (with working .apk for current ARM-based Android device of the second device generation (because with VFPv3, so…

    Benjamin Jan Alexander Rosseaux, Felipe Monteiro de Carvalho, Florian Klämpfl
    42
  2. question about changing default ASCII table in the fpc 2.2.0 IDE

    I would like to print a square root symbol using write(chr(251)); as I could before SP3 for XP was installed on my PC. Currently am getting a superscript 1 rather than…

    Noel and Marie, Michael Van Canneyt, Tomas Hajny
    6
  3. Is this if /else syntax wrong?

    The following code generates a syntax error, if the semicolon after the if/else statement is removed. Is its absence a syntax error? Pascal version is 2.2.4 procedure…

    Frank Church, Bart, Guillermo Martínez Jiménez
    7
  4. xmlrpc unit

    It seems that the xmlrpc unit is missing from fpc source tree (trunk). Was it renamed (to what) or was it remove (why was that) ? Ido http://ik.homelinux.org/

    ik, Graeme Geldenhuys, Jonas Maebe
    20
  5. Static Initialisation of Arrays

    I am working on a program that requires some simple embedded array data. I can get the following to compile: Type TCharacterAreaData = Record Code: Integer; Name: String;

    Paul Michell, Jonas Maebe, Jürgen Hestermann
    6
  6. [ANN] Beyond Compare 3.2 public beta is available

    I just noticed that the Beyond Compare 3.2 public beta is available. BC is probably the best file/folder comparison tool out there. The v3.x version is available for…

    Graeme Geldenhuys, Bihar Anwar
    1
  7. What do these errors mean?

    Following a clean compile (Under XCode) I get: "_main", referenced from: start in crt1.10.6.o [ several dozen similar messages relating to user-defined routines snipped ]

    Roger Bailey, Jonas Maebe
    1
  8. New website www.lazarussupport.com launched

    Our company has launched the new www.lazarussupport.com website. It's a new website about Free Pascal and Lazarus for new users. The goal is to try to get more attention…

    Joost van der Sluis, Peter W A Wood
    1
  9. Documentation differences...

    Hi List. I have been wondering for some time now what the difference is between the source documentation (online versions) on the pascal website…

    Torsten Bonde Christiansen, Graeme Geldenhuys, Marco van de Voort
    5
  10. From Lazarus-list: Exists a macro to FPC path to file?

    I need use the sources of FPC/Lazarus in external HD. So, the FPC path is changed in differents computers. Is possible to use a macro to point to FPC path (in variable of

    Marcos Douglas, Jonas Maebe, Marco van de Voort
    11
  11. deployment tools

    Hello List. I'm looking for a deployment tools such as Puppet <http://www.puppetlabs.com/puppet/introduction/>that allow me to automate complex deployment on systems. I…

    ik
    0
  12. Different default ASCII tablein fpc IDE with SP3 installed

    Recently SP3 for XP was installed on my PC. An fpc 2.2.0 program that previously displayed a square root symbol when instructed to write chr(251) now displays a…

    Noel and Marie, Tomas Hajny
    3
  13. Do you get type errors?

    Theoretically speaking, I'm all for type checking; and for programming discipline in general. But in practice I never get type errors. What the compiler complains about…

    spir, Jürgen Hestermann, Marco van de Voort
    5
  14. Lazarus and Freepascal meeting, june 26, The Netherlands

    On the 26th of june there is a meeting for the Lazarus and Freepascal developers in the Netherlands. The developers who have time and the possibility to come to the…

    Joost van der Sluis, Michael Van Canneyt, Rainer Stratmann
    4
  15. Firebird embedded x64: strange error code when database not found

    Still getting Firebird embedded to workg correctly. Seems like I get improper error messages... I seem to have 32 bit working; now I'm testing 64 bit functionality:…

    Jim
    0
  16. The new book: "WEB and database programming with fpc and Lazarus for newbies and professionals"

    .. anybody knows where I can buy it? ;-) I just started my first web application and .. well .. the basics work, but I have the feeling, I'm doing it the wrong way.…

    Burkhard Carstens, Bee Jay, Martin Schreiber
    7
  17. A patched unit overriding the default - like Delphi supports

    Many years ago when I still used Delphi, it was common in our development team to create our own patches for various components we used. We then placed those "fixed"…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Marco van de Voort
    13
  18. reference model for class instances

    After having read the draft standard proposel for OO extensions for Pascal, esp. the Object Model (http://www.pascal-central.com/OOE-stds.html#sect-6.5.1), I wonder how…

    spir, Jonas Maebe
    1
  19. Firebird stored procedure exceptions generate access violation

    Still working on my locate clone at http://bitbucket.org/jb/flocate/ - download at http://bitbucket.org/jb/flocate/downloads Running Free Pascal Compiler version 2.4.1…

    Jim, Michael Van Canneyt
    15
  20. Bug?

    Can someone explain this?

    Roger Bailey, Alexander Grau, dmitry boyarintsev
    32
  21. Another FPC wiki engine created

    I just found these two sites and thought they are interesting. FPC Wiki Engine (wiki site created with FPC) http://www.3fsoftware.com/3fsoftnews/Welcome Friends of FPC …

    Graeme Geldenhuys, Marcos Douglas
    1
  22. Re: fpc-pascal Digest, Vol 72, Issue 35

    Sorry, but this simply wrong. The LRG (page 95) does not require an "actual parameter list" for a syntactically correct function call. The call should be excecuted…

    Roger Bailey, Michael Van Canneyt
    1
  23. regex vs synregexpr unit

    I've search fpc mailing list about this matter, I found they were discussed a long time ago (2006), and I still didn't have a conclusion about which one should be used.…

    Bihar Anwar, Flávio Etrusco, Graeme Geldenhuys
    10
  24. LNet

    I am trying to use lNet and I have some questions. 1> Can I use TLTcp or do I need to use the "visual" version, TLTcpComponent? 2> Can I use only the base package or do…

    Felipe Monteiro de Carvalho, Andreas Schneider, Graeme Geldenhuys
    8
  25. how to use odbc Allow multiple statements

    how to use odbc Allow multiple statements Connection mssql

    liuzg2, Graeme Geldenhuys, Michael Van Canneyt
    6
  26. would like to open source Ansi C parser

    I've an Ansi C parser written in Delphi that has been lying around my HD for some time. It supports almost all language features and the preprocessor is almost complete…

    Albert Almeida, dmitry boyarintsev
    1
  27. Negative RTL Error Codes in Some Platforms

    I look at the FPC RTL source codes and notice that in some OSes (e.g. OS/2, DOS) every RTL functions which call OS API functions will return the OS error code as a…

    Bihar Anwar, Tomas Hajny
    4
  28. Missing GetLastOSError() in DOS and MacOS

    I don't see SysUtils.GetLastOSError() in DOS. Looking at a glance, I think it will be a trivial effort by just returning Dos.DosError variable content. Also, I notice…

    Bihar Anwar, Jonas Maebe, Tomas Hajny
    5
  29. Mozilla XPCOM

    I'm trying to make the Gecko engine port compile in Ubuntu. It currently works in Win32 without problems, but in Ubuntu I had found a strange problem that could be…

    José Mejuto, Frank Peelo, Jonas Maebe
    39
  30. fpdoc and multiple Include paths issue

    Hi Is fpdoc supposed to handle multiple include paths with one -Fi parameter? eg: --input='-Fi../src/corelib;../src/corelib/x11 ../src/corelib/fpg_utils.pas'…

    Graeme Geldenhuys, Jonas Maebe, José Mejuto
    7
  31. FPC 2.4.1 & fpdoc fails to parse code in interface section

    fpdoc or fcl-passrc seems to be worse of than it was before. I know fcl-passrc was going to be modified for fpdoc, so it only parses the interface section. But the…

    Graeme Geldenhuys
    1
  32. Crosscompile FPC from Win32 to Linux

    I have a stable cgi program running in windows (no libraries - simple writeln). However, our web host is in linux. Is there a simple way for me to cross-compile the app?…

    Andreas Berger, David Emerson, Henry Vermaak
    8
  33. android basic question

    Just a couple of questions. I wanted to play with android native development kit to see if I can replace the basic C "hello world" library from NDK samples with a fpc…

    Thierry Bothorel, Jonas Maebe, Marco van de Voort
    5
  34. linking name issue

    I have renamed a unit previously called "UnitType" to "UnitSystem". The unit name itself, its file name, and the name used to import it in a uses clause inside a testing…

    spir, David Emerson, Jonas Maebe
    3
  35. random question

    -1- class wrappers Are there in stock implementations of class wrappers for primitive types: such as TInteger, TString, etc? (that would for instance just hold a .value…

    spir, Graeme Geldenhuys, Jonas Maebe
    5
  36. Re: fpc-pascal Digest, Vol 72, Issue 12

    Parent and Owner are what they say they are. Owner: the TComponent that "owns" the TComponent-descendant. In other words, that is responsible for the lifecycle of that…

    Dimitri Smits, Florian Klaempfl, Graeme Geldenhuys
    21
  37. Re: fpc-pascal Digest, Vol 72, Issue 15

    First of all, I would like to saty that Pascal needs convergence and compatibility; it must be easy to adapt old code as well as being compatible between compilers. And…

    Ingemar Ragnemalm
    0
  38. compiler / language // ----- sending error

    *** Sorry, I sent this post to the wrong list. Hope you find it interesting anyway ... I just discovered a set of wiki pages about freepascal's compiler:…

    spir
    0
  39. compiler / language //

    I just discovered a set of wiki pages about freepascal's compiler: http://wiki.lazarus.freepascal.org/FPC_internals. On can find at…

    spir
    0
  40. WriteComponent not outputting a hierarchy of components?

    I'm using FPC 2.4.1 I'm experimenting with streaming (read & write) components to build a form and runtime from an external file (something like GTK2 has with Glade). I…

    Graeme Geldenhuys, Marco van de Voort, Martin Schreiber
    19
  41. method renaming

    Is it possible to rename a method in a subclass (with or without overriding); for instance because the new name makes more sense in the subclass? In my case, the…

    spir, Jonas Maebe
    1
  42. SetExceptionMask

    uses math; SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]) ------ We do this to get Mac applications to work as well…

    Richard Ward
    0
  43. array & record output/input

    Is there a (builtin, simple) way to output the content of an array or of a record. Something like arrayToStr / recordToStr, that would return a normal form similar to…

    spir, Graeme Geldenhuys, José Mejuto
    9
  44. timing again

    I posted a question about timing some time a go and got an answer; but let down for a while because other problems required my attention. So, I need a simple func to get…

    spir ☣, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    12
  45. PChar & AnsiString

    The documentation in the ref manual about PChar may have i bit more details: http://www.freepascal.org/docs-html/ref/refsu13.html#x36-390003.2.7 Do the following…

    spir ☣, Bee Jay, David Emerson
    25
  46. Why PIC as default for darwin?

    What is the reason for having PIC enabled for darwin? I have read that it slows down and is only useful for libs, if at all.

    CA Gorski, Jonas Maebe
    1
  47. Text relocation in x86 binary lib

    Hi! If I run an application which uses a library developed with FPC on a x86 plattform, the program gets killed by SELinux because of text relocations inside of the…

    Matthias Klumpp, CA Gorski, Florian Klaempfl
    14
  48. <time_fraction>Between bug?

    Try the following code snippet: uses DateUtils; var a,b: TDateTime; i: integer; begin a := EncodeDateTime(2010, 1, 1, 0, 0, 0, 0); for i := 0 to 9 do begin b :=…

    Bee Jay, Jonas Maebe, Marco van de Voort
    9
  49. power?

    // a & b are ints n := a ** b; // error: operator is not overloaded n := power(a,b); // error: identifier not found "power" Conversion to real does not help. How can I…

    spir ☣, Burkhard Carstens, Henry Vermaak
    5