fpc-pascal · 2010-06
- Working Free Pascal android JNI example42
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…
- question about changing default ASCII table in the fpc 2.2.0 IDE6
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…
- Is this if /else syntax wrong?7
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…
- xmlrpc unit20
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/
- Static Initialisation of Arrays6
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;
- [ANN] Beyond Compare 3.2 public beta is available1
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…
- What do these errors mean?1
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 ]
- New website www.lazarussupport.com launched1
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…
- Documentation differences...5
Hi List. I have been wondering for some time now what the difference is between the source documentation (online versions) on the pascal website…
- From Lazarus-list: Exists a macro to FPC path to file?11
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
- deployment tools0
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…
- Different default ASCII tablein fpc IDE with SP3 installed3
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…
- Do you get type errors?5
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…
- Lazarus and Freepascal meeting, june 26, The Netherlands4
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…
- Firebird embedded x64: strange error code when database not found0
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:…
- The new book: "WEB and database programming with fpc and Lazarus for newbies and professionals"7
.. 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.…
- A patched unit overriding the default - like Delphi supports13
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"…
- reference model for class instances1
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…
- Firebird stored procedure exceptions generate access violation15
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…
- Bug?32
Can someone explain this?
- Another FPC wiki engine created1
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 …
- Re: fpc-pascal Digest, Vol 72, Issue 351
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…
- regex vs synregexpr unit10
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.…
- LNet8
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…
- how to use odbc Allow multiple statements6
how to use odbc Allow multiple statements Connection mssql
- would like to open source Ansi C parser1
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…
- Negative RTL Error Codes in Some Platforms4
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…
- Missing GetLastOSError() in DOS and MacOS5
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…
- Mozilla XPCOM39
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…
- fpdoc and multiple Include paths issue7
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'…
- FPC 2.4.1 & fpdoc fails to parse code in interface section1
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…
- Crosscompile FPC from Win32 to Linux8
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?…
- android basic question5
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…
- linking name issue3
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…
- random question5
-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…
- Re: fpc-pascal Digest, Vol 72, Issue 1221
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…
- Re: fpc-pascal Digest, Vol 72, Issue 150
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…
- compiler / language // ----- sending error0
*** 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:…
- compiler / language //0
I just discovered a set of wiki pages about freepascal's compiler: http://wiki.lazarus.freepascal.org/FPC_internals. On can find at…
- WriteComponent not outputting a hierarchy of components?19
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…
- method renaming1
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…
- SetExceptionMask0
uses math; SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]) ------ We do this to get Mac applications to work as well…
- array & record output/input9
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…
- timing again12
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…
- PChar & AnsiString25
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…
- Why PIC as default for darwin?1
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.
- Text relocation in x86 binary lib14
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…
- <time_fraction>Between bug?9
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 :=…
- power?5
// 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…
