fpc-pascal
Subscribe to this list Your subscription
Latest threads
- working witg UCS4Char7
I'm trying to work with UCS4Char (for this: https://github.com/ik5/fp-msgpack), but I can't figure out how to do it. For example, if do the following:…
- B-tree Filer1
I have converted b-tree filer to work on Free Pascal on Windows Xp and Windows 7. Two of the function do not work, (reorg rekey). I wrote three function that do the same…
- adding additional libraries4
when you add additional libraries to your FPC and/or Lazarus installation, how do you normally do it? where do you normally place them? i'm thinking of libraries like…
- RESTful JSON: Your thoughts about implementation8
I thought I would put this out to see what helpful information I could gather. I am in need of some JSON and HTTP functionality. I am thinking about using some pieces…
- wayland support for FPC12
It seems that many GUI toolkits are slowly starting to move to wayland (http://wayland.freedesktop.org/), that moved to v1.0 Is there anyone who currently working on…
- New fpcup version released0
(Cross-posted to lazarus & fpc mailing lists) I'm happy to announce a new binary version of Ludo Brands' and my fpcup FPC+Lazarus+packages SVN downloader/installer. New…
- Xcode17
Can somebody explain Xcode-installtion? Last version of free pascal is 2.6 and working with Xcode 3.2.6. Meanwhile last Xcode version is 4.4.1. Version 4.1 was installed…
- secure REST client?6
i'm looking at creating a REST web application client... nothing fancy... command line oriented... fire it up, it logs into the website and performs the REST queries…
- Editing resource of executable22
I have some problem. Example: I created some exec using free pascal and lazarus. It is placed on http server. User in webbrowser click download, and server should attach…
- What is the size of AnsiChar5
As I understand, AnsiString and AnsiChar contain the environment type of string (it can be ISO8859x, utf-8 etc...). If that so, how can I know the size (in bytes) of…
- cannot make debugserver16
I am trying to get back up to speed after a couple of years away from FPC/Laz, and I hope I am not a P.I.T.A. ... I searched the mail archive, but I found nothing. I am…
- Questions About Porting Java and Extended Class Syntax Features5
I am looking into porting Java to Free Pascal. I have some confusion about how to port certain types of Java Lang Features. What is the best way to port 'private static…
- Re: weird printout of char6
Try this: (a char is only one byte, you're trying to print a multi-byte character: print multiple one-byte characters) WriteLn(#$d7, #$90); Ewald Events don't…
- Testing if exception raised in fpcUnit7
I wish to test if a method has raised an exception for a value (something that should make the test pass) or not. For example: function TestNum(ch : Char) : Byte; begin…
- FPCUnit checking Single values2
I'm trying to check Single value. I'm doing the following: a := 1.1; b := 1.1; CheckEquals(a, b, Format('val %f does not equal %f', [a, b])); It reports an error, one of…
- Why opening a file for write fails in fpc 2.6?21
In Linux environment the following code: try USBOut := FileOpen(UsbDev,fmOpenWrite); except result := True; end; is used in a Lazarus application to get a handle to…
- Best way to transfer data between applications?21
I am familiar with the basic underlying methods available for transferring data between processes on Windows and Unix, i.e. Pipes, Shared memory, and TCP/IP - but what I…
- Cross-compiling FPC trunk to Win x64 fails using fpcup - make file problems?3
I wonder if the problems below are caused by wrong make files or problems in fpcup: (fpc trunk, Windows; fpcup compiles fpc x86+Lazarus fine, then tries an x64 cross…
- convert floating point to bcd and vice versa2
I need to convert floating point (Single and Double) to an array of bytes (BCD) and vice versa. Are there any existed implementation for it ? Ido
- Error compiling android example: can't locate arm-linux-as0
Can anyone shed some light on this problem for me? I am trying to configure FPC/Lazarus for Android Cross-Compiling. I have followed the directions as indicated here:…
- problems compiling FPC44
I am trying to update my FPC from SVN, but for some reason I keep on getting a compilation error. The last build was from 21955 (23rd July 2012). See below for the…
- OT: Creating a site to contain Pascal units, libraries etc5
There are many places such as GitHub, Google Code, Sourceforge etc, that hosts a lot of open source projects, libraries etc for FPC/Pascal. On the other hand we have…
- Range check error while evaluating constants5
I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $FFFFFFFFFFFFFFFF) + 1; end; What am I missing here that…
- Two and one compliment converting functions0
Does FPC contain any functions to convert between One Compliment (http://en.wikipedia.org/wiki/Ones%27_complement) to Two Compliment…
- Using flag field in Getopts2
Getopts offers very good features to process commandline arguments. As far as I could understand, I used it successfully. But it remains one unknown aspect for me. What…
- Yet more make file problems: make works, make install fails5
Still fighting makefiles with my db fpcunit listener. I can get it to compile with fpc make all However make install fails with Installation package fcl-extra for target…
- fcl-db components missing from 2.6.0 (Lazarus winx64 bin inst)1
I'm trying to setup a build box on Win8 x64. I can't get Lazarus to compile my project. It fails because it uses postgresql, mysql and oracle units. The postgresql…
- Delphi's anonymous functions in Free Pascal124
Does Free Pascal have anonymous functions that you can pass around, e.g. to a sort(compare : function, arr : array) function? If not, does anyone know any hacks to…
- Access to compiler's internal data structures8
First I'll say I know very little about the inner workings of an actual compiler. I took a course on formal language theory ages ago so I do have some understanding of…
- Design Patterns Questions10
It has been some time since I have used FPC/Laz. I was looking for some information on 'observer pattern' the other day, and I found this article[1]. I notice that it…
