fpc-pascal
Subscribe to this list Your subscription
Latest threads
- readonly variables43
is it possible to set a variable in a programm as a readonly variable? I would set a variable at a position in the runing programm. Since this time the variable should…
- 5
- (Generic) Container Classes5
I submitted a TStringHashMap class to CCR. I also created a wiki page: http://wiki.lazarus.freepascal.org/StringHashMap I made a comprehensive demo program for it. It…
- Interfaces via implements keyword8
Hi all I've got a non-obvious class hierarchy with interfaces involved. The problem is that, I thought "property ... implements ...;" construction fully substitute for…
- Troubles with CGI and POST content4
Hello together! I'm working on a little personal website and encountered a very strange problem with the content that is sent by a form: I run the attached CGI test…
- Split and Join5
FPC's strutils or other libraries still don't have functions for splitting a string to a list and joining a list of strings again to one string, given a delimiter as a…
- Pascal grammar for FPC.0
Hello. In order to get translations from FPC to Ada language, I have updated P2Ada translator http://sourceforge.net/projects/p2ada. I add a new ObjP2Ada branch. The…
- make CPU_TARGET=arm OS_TARGET=linux ignores both flags5
I'm trying to cross compile FPC 2.5.1 in Linux 64 bit (in Arch Linux) to arm (eabi) cpu. When I'm using make CPUT_TARGET=arm OS=TARGET=linux all The make file build an…
- TCgiApplication in cgiapp unit - mostly deprecated1
Most of the methods in TCgiApplication (located in cgiapp unit) is marked as deprecated. There is no documentation for this unit, so I do not know much about it. If all…
- Where do I contribute units to?1
Hi all I have translated a C header file for interfacing with a National Instruments data acquisition device. This is a standalone, independant unit which will rarely if…
- sqldb, oracle, and mac os x1
I'm writing a program which connects to a remote Oracle server using sqlDB (TOracleConnection). TOracleConnection keeps telling me that Oracle client library…
- Re: cpu4
it compiles out of the box with the 2.2.4 go32v2 compiler. You will want to add a {$CALLING PASCAL} statement at the top of the units - some assembly code assumes some…
- Escaping keywords0
Hello Developers There's Delphi compatibility feature to escape keyword with "&" character. Is there any way to turn the feature off or enable a hint or a note about the…
- Subversion server making hickups...2
Hi. For unknown reasons the svn2.freepascal.org subversion server seem to make hick-ups when I do an update. I get the error: svn: Can't find a temporary directory:…
- Re: Illegal type conversion errors in FPC 2.5.14
Thanks. It compiles and works now. In the latest Delphi VirtualTreeView version the typecast is changed to Byte or Word depending on the element count in a set. I…
- Generic type declaration example versus manual.19
Hello. In example tgeneric16.pp (from FPC 2.2.4 sources) the generic type TStack is declared as: type { TStack } generic TStack<T> = class(TObject) public procedure…
- Using C functions4
Is there any way to use a C library that use the __fastcall calling convention?
- How does inline work?5
I'm trying to use inline to remove unnecessary debugging code, such as the following code, with FPC 2.3.1 on Windows, when compiling for production. However when I…
- MSEide+MSEgui rev. 2.2beta20
MSEide+MSEgui rev. 2.2beta2 for FPC 2.2.4 and 2.4 has been released: http://sourceforge.net/projects/mseide-msegui/files/ There is an experimental x84_64_linux version…
- How to solve "variable does not seem to be initialized" compiler hint.68
And how do I solve this compiler hint? Normally I use FillChar(), but here it made no difference. The hint no simply moved to the line containing FillChar() call. :-(…
- One experience with the unit serial16
one more question regarding the unit serial. I use the following function to get one single byte form a serial port, which has been open before with seropen: function…
- How to solve "Conversion between ordinals and pointers is not portable"16
How to I solve this compiler hint? I've managed to get DCPCrypt compiled and running successfully (with my current tests) under 64-bit FPC & Linux. But I still have…
- Microsoft SAPI2
Does anyone know of Pascal binding for Microsoft SAPI that can be used with FPC ? Ido http://ik.homelinux.org/
- using popen() and assign/reset1
I'm trying to get unix.popen() running. The RTL.pdf says the file opened with popen (stdin for reading here) has to be reset or rewritten. The example does not do…
- question about FpTimes in BaseUnix package4
I am using the FpTimes function from the BaseUnix package. The documentation says it returns -1 on an error, otherwise the number of clock ticks since boot time.…
- Is there a way to declare a static varible in a function body?2
Is there a way to declare a static varible in a function body? the varible should remain the value assigned from last call. thanks
- IOPL - how to use it?0
I am currently running the fpc in version 2.2.2-8, and I have some problems to get iopl and fpiopl working. It seems, the units oldlinux and x86 are not available to…
- Web interface for public.mseide-msegui.talk0
Wahono activated a web interface with search function for public.mseide-msegui.talk: http://msegui.org/fudforum/index.php?t=thread&frm_id=2&S=a0f13320c71aa14a269ca8b4d05f…
- Re: Installing "fpc-2.4.0-0.rc1.src.rpm" to OpenSuse 11.22
Right, yes. It is /usr/src/packages. I was looking for /usr/share/fpcsrc or similar like older Suse packages have. I found the Programmer's guide under Documentation on…
- Parameter with no type defined?2
If I have a declaration as follows... what type is InData and OutData? Pointers? If it is a generic Pointer type, then why doesn't developers simply declare it as…
