fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Heap, Stack, HeapTrc and threads4
A recent query: Date: Mon, 21 Nov 2011 08:27:16 +0000 From: Mark Morgan Lloyd Subject: [fpc-pascal] Debugging ancient heap allocation seems not to have received a…
- Inheriting from generics specialized classes5
... Sorry, forgot subject first.... I try to learn to use generics properly. First, this is a class definition without generics: TMyDerived = class(TObjectList) private…
- (no subject)1
I try to learn to use generics properly. First, this is a class definition without generics: TMyDerived = class(TObjectList) private MyInt: integer; public constructor…
- fpc can't compile project because a directory exists2
I just tried to compile a test.pp file inside my /tmp directory. FPC complained because there existed a /tmp/test/ directory!! Is this a normal or known limitation of…
- Generic syntax that compiles with FPC 2.4.4 but not with FPC 2.6.0-0.rc13
Regarding this issue: http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=20713 The following does not compile any more with FPC 2.6.0-0.rc1. --- generic…
- Firebird Connection documentation: suggestions? remarks?6
Please find attached my current version for the Interbase/Firebird connection documentation source. If the attachment gets deleted by the list or if you want to see the…
- Name of a var30
Is it possible to get information of the name of a var? For Example. var counter : longint; varname : shortstring; varname := nameofvar( counter ); The content of…
- Indy example returns Runtime Error (211)3
I am trying to use an Indy example from stackoverflow - http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ipsand I always get Runtime Error (211). It…
- got 5 errors when install fpc to mac OS X0
I want to install freepascal into my new Macbook, the system is: Mac OS 10.7.2 I download fpc-2.4.4.intel-macosx.dmg and install it OK, then do svn co…
- FCL Web Combined Demo9
i wanted to check the combined demo so i set it up to my server at http://demo.artesoft.gr/combined . As i'm newbie to javascript can someone check to see why doesn't…
- Is there a bug in TStrings.Delimiter handling?11
adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; adapterVals[0] = '192.168.1.2'…
- Debugging ancient heap allocation0
Is it possible to use heaptrc to determine whether a pointer refers to a valid block on the heap, so that erroneous disposes can be silently ignored? Alternatively, is…
- Compilation error in crosscompiling lNet to arm-linux3
Hi List. I get the following error when crosscompiling lNet to arm-linux. $ fpc -MObjFPC -Sgim -CX -O2 -Parm -gs -gl -vew -l -Fi../lib/sys -Fu../lib -Fu.…
- Advantages of THTMLPageProducer0
What are the advantages of using THTMLPageProducer compared to directly generate HTML output (or via THTMLWriter)? View this message in context:…
- using functions from units & main programme14
I have a normal fpc unit, call it jim, with 2 functions fna & fnb . fnb uses internally fna. My main program, has a uses clause including jim, and also a _different_…
- More fun with dynamic arrays4
This program: Program TestMem ; Const ASize = 1000 ; Type DataA = Array Of Longint ; Var A : DataA ; Procedure Init(Out X : DataA ; Const N : Longint) ; Begin…
- Convert unix timestamp to TDateTime1
I would like to convert a unix timestamp to TDateTime taking into account timezone and daylight savings. For example, timestamp: 1308666350 should be converted to:…
- JSON - RTTI streaming.12
For those of you that need JSON support: I have committed support for streaming published properties (properties for which RTTI is generated) from objects to JSON and…
- pchar with more than 255 characters26
procedure getchars( p : pchar ); var l : longint; begin l := length( p ); end; If calling getchars with chars longer than 255 l is always 255. For example: getchars(…
- Problems running fpcdocs make all0
trying to get pdf output On Debian Squeeze x64, with Free Pascal Compiler version 2.4.4-3 [2011/10/26] for x86_64 fpcdocs from trunk sudo aptitude install texlive tex4ht…
- various ways of passing a class instance as a parameter6
What exactly is the difference (if any) between the parameter modifier when you pass a class instance to a procedure? In the example below, I can define foo() as…
- parent class as a parameter type16
Since 2.6.0, when you write something like this: procedure foo(AClass : TStrings); foo(MyStringList); // Will return an error that TStrings is expected ... I can not use…
- Setting environment variables on Unix/Linux?2
It seems FPC allows one to retrieve environment variables on Linux/Unix (GetEnvironmentVariable) but not to set them. Is that correct? Some digging: Setting environment…
- Makeskel & how to add Firebird connection documentation?8
I want to document packages/fcl-db/src/sqldb/interbase/ibconnection.pp So I run this to get started: makeskel --disable-private --emit-class-separator --update…
- SQLDB Firebird port other than 30503
This is probably my confused week, but I couldn't find any documentation. How do I specify the port number when connecting to Firebird/Interbase databases with sqldb on…
- Makeskel error or error behind keyboard?3
Trying to start documenting fpXMLXSDExport: <some other directory>c:\development\fpc\bin\i386-win32\makeskel --disable-private --emit-class-separator --update…
- [OT] AI programming challenge includes FreePascal0
In case you didn't know and are interested, there is an online artificial intelligence competition [1] that lets you program an ant colony that fights other colonies.…
- Compilation time3
Does more cpu cores mean less compile time? I am searching for a new computer, which is the best cpu? Is it possible to write the compile time in the Lazarus output…
- 0
- ioda joda fulltext search not working9
Has anyone got Ioda 1.3 fulltext search project working? Every time I try version 1.3 it doesn't seem to find any words in a file that is indexed when I try a simple…
