Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2005-09

  1. Graphics in Linux?

    Hi! I want to write a little program for visualizing all moves of a CNC machine on LINUX. Actually it would be more than sufficient when that what the good old "graph"…

    Rainer Hantsch, Alexey Pavluchenko, Felipe Monteiro de Carvalho
    12
  2. What is the portable approach?

    I have data that would fit an associative array if they really existed in Pascal, but while the key is a string, the values are reals [0,1]. So, I have been using a…

    Alan Mead, Jeff Pohlmeyer, L505
    7
  3. Turbo Pascal/legacy data file issue.

    Has anyone come up with a set of routines for converting between Turbo Pascal's 6-byte "real" format and FPC's real number format? I am trying to use FPC to update a…

    Lowell C. Savage, Alexey Pavluchenko, Arne Hanssen
    12
  4. Problem compiling new compiler

    I downloaded both the 2.1 and the 2.0 daily snapshots. When I try to compile either one I get an error : make[5]: Leaving directory…

    Koenraad Lelong, Marco van de Voort
    3
  5. Output program name -o

    Hi! Is there a way to change the extension of the output executable? When compile with this example: fpc /home/me/project1.pas -oNewName.cgi The file is compiled as just…

    L505, Vincent Snijders
    3
  6. What should be the setting of CRIMSOM EDITOR when I use it to edit pascal

    I am a pascal user who was using CRIMSON EDITOR for editing. However, due to re-installation of CRIMSON EDITOR, the setting preference is lost. Can you tell me what…

    Unknown author
    0
  7. FPDoc question

    I have two questions regarding FPDoc; - can I find somewhere a description on topic tags?? I have searched the reference manual, but it seems it's not documented there.…

    Unknown author, Darius Blaszijk, Marco van de Voort
    4
  8. No Hello World after updating Xcode to 2.1

    I've just installed Xcode 2.1 and can no longer compile FPC using 2.0.0. For good measure, I re-installed FPC 2.0.0 and the Xcode Integration Kit, including the…

    Lance Boyle, Andrew Haines, Jonas Maebe
    4
  9. $B or $BOOLEVAL : Complete boolean evaluation

    It says in the manual that: $B or $BOOLEVAL : Complete boolean evaluation This switch is understood by the Free Pascal compiler, but is ignored. The compiler always uses…

    Carsten Bager, Jonas Maebe
    1
  10. [Admin] List troubles

    First, I'am sorry about the mailing list troubles the last weeks. The mailing lists where moved to a new server which caused the trouble some weeks ago. Since this mail…

    Florian Klaempfl
    0
  11. Test please ignore

    Florian Klaempfl
    0
  12. Re: Turbo Pascal/legacy data file issue.

    What I would still like to see is a "Double2Real" which goes in the opposite direction of the "Real2Double". That way, I can read the data from the existing files and…

    Lowell C. Savage, Jan Ruzicka
    2
  13. Porter Stemming for FPC 2.0

    It's great that 2.0 is out! Unfortunately it seems to break some code I used for Porter Stemming because the code sometimes reads data from a pchar at negative indexes.…

    Alan Mead, Elio Cuevas Gómez, Jonas Maebe
    5
  14. Extending FPDoc

    For Lazarus I have made a tool called LazDoc that attempts to integrate a documentation editing tool with the IDE. Depending on the position of the cursor on the source…

    Unknown author, Darius Blaszijk, Florian Klämpfl
    15
  15. fpc 2.0 and DOM/xml under OS/2 gives me "Process terminated by SIGSEGV"

    I have the following snippet of code (which works under Windows): PROGRAM XMLTest; USES Dom, XMLRead; PROCEDURE ProcessItem(Node: TDOMNode); VAR i: Integer; attr:…

    Søren Ager, Florian Klaempfl, Tomas Hajny
    11
  16. Examples of FPC good practice

    I would like to point out some places where I think FPC has done an excellent job of continuing the spirit of what Pascal was and should be: a programming language which…

    Unknown author, Lance Boyle
    1
  17. Suspected Strange Error in FPC

    I have a heads up report which I have to make in this form because it's not repeatable. I am sometimes getting errors that, when I try creating sample programs to…

    Unknown author, David Emerson, Florian Klaempfl
    3
  18. Opening .dta and .key files

    I've got a big problem. I've got an old program that's written in Turbo Pascal, I don't know which version. I've only got the compiled executable (.exe file), I haven't…

    Floris Bos, Cox, Stuart TRAN:EX
    3
  19. SO_RCVTIMEO

    Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work with Darwin (FreeBSD). type p : pointer; t : TimeVal; t.tv_sec := mSec div 1000; t.tv_usec := (…

    Paul Davidson, Anton Tichawa, Marco van de Voort
    3
  20. Darwin compilation

    Darwin fails make all. Checked out revision 1075. genmath.inc(1115,28) Fatal: Internal error 200507161 genmath.inc(1115,28) Fatal: Compilation aborted make[7]: ***…

    Paul Davidson, Florian Klaempfl
    3
  21. history

    In the course of trying to compile fpc docs, I compared file msg2inc.pp of svn to that of the fpc-2.0.0 source tarball. No change whatsoever had been made to the code,…

    Bob Barry, Florian Klaempfl
    1
  22. About reset(aFile, FileNameString)

    "Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {or rewrite, etc.}…

    Lance Boyle, Adriaan van Os, David Emerson
    4
  23. fpGetRUsage

    Trying to get fpGetRusage to work. Using: function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; external 'c' name 'getrusage'; But this gives silly results.…

    Paul Davidson, Jonas Maebe, Marco van de Voort
    6
  24. XML question

    I have a problem with empty elements (<node/>) in XML. Does anybody know how I can fill them with data?? The code I was willing to use was this: if not…

    Darius Blaszijk
    0
  25. ParamStr(0) buggy?

    at the end of ParamStr(0) there is a wrong character. A small testprogramm: <----------------------------------------------------------> Program t1; var i : longint ;…

    Hans-Juergen Taenzer, Florian Klaempfl, Luiz Américo
    5
  26. XMLcfg question

    I'm working with XMLcfg to do read and write to XML files. I want to extract data from the following XML file where element name is "second", how can I achieve that??…

    Unknown author, Sebastian Günther, Thomas Zastrow
    3
  27. Reading past end of file, no error

    I am pretty sure that FPC 1.0.10 would give a runtime error when attempting to read past the end of file. E.g. program ReadPastEOF; var i: Integer; begin readln(i);…

    Tom Verhoeff, Florian Klaempfl, Jonas Maebe
    5
  28. File dates on the FPC server

    Maybe this has no importance but some file dates are not correct on the server : ftp://ftp.freepascal.org/pub/fpc/snapshot/v20/i386-win32 File: base.i386-win32.zip 8496…

    Marcel Martin, Tony Pelton
    1
  29. Windows Type LPARAM, WPARAM

    I've been working with FPC 2.0.0 and Dev-Pas for some GUI efforts and another programmer pointed out an interesting thing, regarding the LPARAM and WPARAM types. I hope…

    Urbansound, Alain Michaud, L505
    7
  30. compiling html docs from svn

    A few weeks ago I was able to compile fpcdocs from svn with a script: SVNDIR=/usr/portage/distfiles/svn-src BUILDDIR=/home/bobb/freepascal/svn/fpcdocs rm -rf ${BUILDDIR}…

    Bob Barry, Anton Tichawa, Jose Pascual
    8
  31. Re: ANSI String concatenation eats Linux RAM ?

    Possible cause is memory fragmentation. Please upgrade to 2.0.0 it has a rewritten memory manager.

    Peter Vreman, Andrej Cuckov
    1
  32. Re: Re: arbitrary number of parameters in procedure

    Hi Michael, I tested your proc but it don't want to ccompile . program follows: program test; var a,b,c,d:integer; res:double; Procedure AddNums(Var Result : Double;…

    Pianoman, Michael Van Canneyt
    1
  33. Cross compiler win32/ARM error code 2 ?

    just trying to build fpc (today snapshot 2.1.X) for win32 plateform and wince arm target. i get the following error message ? D:\FPC\2.1.x-src>make all OPT=-vt…

    Unknown author, Florian Klaempfl
    1
  34. Two-dimensional dynamic arrays in C libraries

    I need to pass two- or three-dimensional dynamic arrays to C libraries from FPC. I know this is feasible with one-dimensional arrays, by using a pointer to the array:…

    Silvio a Beccara, Michael Van Canneyt
    1
  35. Shortstrings/ ANSIStrings

    What is the main difference between the shortstrings (256 byte) and the ANSI Strings? I mean, upon using the Strings, we have plenty of functions, manipulating the…

    Unknown author
    1
  36. Extended float to single and pchar types

    I have a stdcall reference to a c based dll. called target.dll In c the setup is ... float Get_l1_BidPriceSingle(void* p); The Pascal reference is... function…

    Urbansound, Matt Emson
    4
  37. exec with many params

    in linux I can't use the exec for executing a program with more than one parameter. I tried to supply more than a parameter separeted with whitespace, but it's not…

    Antal, Florian Klaempfl, Marco van de Voort
    7
  38. FindPart and wildcards

    A simple question: how do I work with wildcards and "FindPart" ("strutils" unit) function? If I use writeln(FindPart('de?','abcdefgh')); i'll got "4", but if I use…

    Claudio Oliveira
    0
  39. Test, please ignore

    Florian Klaempfl
    1
  40. Diff for GTK 2.6

    I made this little patch thinking that the default GTK_2_2 define directive in gtk2.pas is really obsolete looking at the current versions (2.8.x and 2.6.x).

    Federico "Lox" Lucignano
    0