fpc-pascal
Subscribe to this list Your subscription
Latest threads
- Re: writeln in threads on linux2
That's because the line terminator! #10#13 or #13#10 acts differently So, check in the source code which one is used, because the first one is not suitable in Windows!…
- dos.pp GetLongName and GetShortName for mswindows0
file rtl/win/dos.pp typo / problem in function GetLongName and GetShortName it has if ret = 0 then it should be if ret 0 then then it will work correctly. :-) because…
- findfirst and findnext on non accessible files18
trying to use FindFirst and FindNext on files I cannot detect the difference between a failed call because of no matching file and a failure when the file or dir is not…
- Code example needed, please!7
Hello! A friend of me wants to write a program which uses a GUI frontend and a "backend", which actually does the work. The reason is that the backend shall also be…
- ExitProc3
If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling "CloseServer" procedure, but it dos…
- Nice website18
:) Mattias
- Redirect under Linux0
Hi all... I was testing a program I wrote in FPC which directs the cursors (using crt), by redirecting the output to a file, but was surprised that the escape sequences…
- Modify XML Document3
I am trying to use the units XMLRead, XMLWrite, DOM to modify the structure of a XML file. Reading the XML file is very easy and works very well, but I am lost about how…
- exiting a program more friendly way4
Hi, I'd like to ask whether is it possible to exit program in case of runtime error 202 for example more nicely than with message runtime error 202 at…
- overflow checking3
Just a question about programming practice: How can I disable overflow checking for a couple of operations? I use something like that: {$DEFINE CHECKINGS} {$IFDEF…
- Initialize3
silly question but I can't find the answer anywhere... How do I initialize a variable of the type : textfile ? I keep getting the following hints from the compiler…
- Cross Platform Save/Restore Screen7
Back in the DOS Turbo Pascal days I could do the following type screentype= array[1..4000] of byte; screenptr=^screentype; var screen1: screenptr; procedure…
- nano-x1
I am trying to convert nano-X.h to a pas file but I get some errors. This is 2 of them. I cannot se what the problem is, can anyone give me a hint. Carsten at line 698…
- Back on-line0
The mailinglists are back on-line. Daniël
- gtk-file-chooser-button1
I wanted to use a gtk_file_chooser_button, but I couldn't because gtk_file_chooser_button_new doesn't exist (v2.0.3 and svn-version). So I added it (and some others) in…
- Comparing version numbers16
I have tried about a dozen different algorithms now, and I admit to being stumped because everyone I've tried fails SOMEWHERE. The task before me is to compare version…
- Daemon doesn't work right at boottime.6
I have written a daemon as part of a project (I used the daemon.pp example as a skeleton), it's working quite perfectly if you start it from the commandline, including…
- Limit concurrent connections to Firebird DB1
Anybody know how I can limit concurrent connections to a Firebird DB via a FPC/Lazarus application. I am currently using FBLib as my database component, but info on any…
- Frank Putnam is out of the office.0
I will be out of the office starting 06/02/2006 and will not return until 06/05/2006. I will respond to your message when I return.
- a suggestion...23
Is there any particular reason for not compressing the release tarballs (Linux f.e) with say bzip2 or even 7zip? The uncompressed tarball weighs in around 24M and I'm…
- [Fwd: Re: spin_lock]1
(Burkhard: my mistake. Sorry ) thank you for your message. I find it VERY usefull! I have many questions: 1-- Keep in mind that I need the processor for a period of 100…
- spin_lock11
would someone know how to execute: spin_lock spin_lock_init and spin_unlock I just want to disable the interrupts for 200 miliseconds maximum! This is not too long and…
- writeln in fpc 2.0.25
I use Lazarus. So, I've upgraded fpc from 1.0.10 to 2.0.2 . I've recompiled my cgi apps, and now something is wrong: lines with more than 80 char writed with writeln…
- real to integer12
I am frustrated by a very simple problem. I am trying to convert real to integer, using free pascal for mac. I am an old Think Pascal user who just recently found free…
- porting fpIoctl() to windows6
on FreeBSD I use fpOpen, fpIoctl, etc. to drive some generic device. In my porting efforts to win32 I have found the more generic FileOpen, but no equivalent of fpIoctl…
- fpc for ARM on FreeBSD0
since I know fpc has a code generator for ARM CPUs and is running on FreeBSD I'd like to know: What would be needed to make the compiled programm run on FreeBSD for ARM?…
- rotating bits37
Is there high level operator/(inline)function for rotating bits? Am I supposed to implement rotating bits (like ror/rol in i386 asm) by inline assembler or some ugly…
- assigning ansistring with shortstring9
I'm lacking some memory concept here. Below program doesn't work unless setlengths are called first on the shortstrings. program Project1; {$mode objfpc}{$H+} var…
- Trim repeated whitespace from a string5
Anybody know of a function that can remove (normalize) a string by remove all beginning and ending whitespace as well as replace all repeated spaces with a single space.…
- unit name with dots9
does fpc support unit names with more than one dot or is planned? in delphi 7 you can compile this: // unit main.dpr program main; uses test.sec; begin test.sec.doit;…
