fpc-pascal
Subscribe to this list Your subscription
Latest threads
- shift right operation with variables5
I noticed a strange behavior with the following program: program tt; {$mode objfpc}{$H+} uses sysutils; var res: Integer; mask1, mask2: QWord; begin mask1 :=…
- Persistent list to store objects2
There are several classes which manages lists. TCollection, TObjectlist, TFPGObjectlist... Does someone know if one of then can be saved as a file and reloaded again to…
- FreeBSD and fpc messages.14
Hello. I did a recent update of all libraries in FreeBSD64 to the trunk versions. Now, all the message given by fpc,while compiling, are no more readable. The…
- EAccessViolation3
I have this procedure in my program: procedure DisplayNode (var node:astring); var c, i:integer; begin i:=SizeOf(node); if (i=0) then begin writeln ('node was empty /…
- Copy TJSonArray to Array3
First off thanks to all who have provided help over the past few weeks, I just have one last thing I'm trying to unravel (that I know of currently) and this project…
- Android and Atom1
I seem to have a tablet with Android 5.0 based on an Intel Atom CPU (Z3735F) here. I've got rather a lot of stuff on my plate so I'm putting off playing with this as…
- alignment of records12
I try to port a program from C to Pascal, see the following example: #include <stdio.h> #include <sys/socket.h> #include <linux/if.h> void main() { printf("ifmap=%ld\n",…
- FPC's documentation license?9
Just curious, what is FPC's documentation license? At moment it seems like it doesn't specify any all - which might not be a good idea. I looked in the fpcdocs…
- Object Pascal Handbook8
I’ve just noticed that Object Pascal Handbook (http://www.marcocantu.com/objectpascalhandbook/) is released (avaialable @Amazon) and considering that on the back cover…
- A5 size ref.pdf document0
On 2015-08-07 13:28, Michael Van Canneyt wrote:> Thanks Michael. I tried and it did seem to work. Viewing it on my Kindle, it needed a bit more work. - As you said the…
- Read JSON from file10
For my current project, I download a file from a server that contains JSON code. I'm not sure how to read it into something that GetJSON is able to handle. My first…
- blowfish in fpc1
I would like to know if the FPC implementation of BlowFish is considered secure or not? Especially: 1) Does it has the bug mentioned here:…
- another xml question3
For the app I'm writing, it will have 3 elements in the XML document it reads. The first 2 will only have one child element. The third one will be from 1 to whatever.…
- manipulate tun/tap in free pascal0
Is there any example to write a tun/tap driver (or adapter, whatever) on Linux using free pascal? Thanks!
- Interactive command recognition & mapping to program functions & other 'cli' features as a unit6
I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which will in time grow an 'embedded' web server and…
- fprecvfrom for IPv6?1
How can fprecvfrom work with IPv6? It returns the address of the sender in a record sockaddr, which only has space for an IPv4 address.…
- fpdoc HTML class hierarchy output contains duplicates3
Last night I came across something, which I think is a bug in fpdoc's HTML output. In recent times, fpdoc added a new output feature to the HTML generated - a class…
- Interface syntax: Is possible don't use specialize in mode objfpc?53
Is there some way to write this: type generic ICloneable<T> = interface function Clone: T; end; ...using this sintaxe: type ICloneable<T> = interface function Clone: T;…
- Calling overriden method using TMethod2
Hello, in the following sample: ======>>>====== ... type tm = procedure of object; var v1: tbar1; m1: tmethod; begin v1 := tbar2.create; try v1.go; ; m1.data:=v1;…
- Counting semaphore for free pascal16
A counting, or general, semaphore limits simultaneous access to a resource according to the number of permits you specify. On the other hand, a binary semaphore like a…
- fpcanvas and alpha-blending1
I'd like fpcanvas to support alpha-blending while drawing for example polygons, and I wonder what the best way would be. Maybe a new property AlphaBlend: Boolean to both…
- a "bug" on the bug tracker1
The problem is not very serious, but I point it out here because no bug tracker category seems appropriate. In the header of the pages of bug tracker the Community…
- Modems etc.8
Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. Mark Morgan Lloyd markMLl .AT.…
- Basic Sockets in FreePascal8
I have read on the wiki and documentation that FreePascal does not have any native support for socket handling, and that you need an external third party library to have…
- Parsers and Unicode5
When writing something like a parser, does FPC have anything that exposes the properties of each Unicode codepoint? I'm thinking in particular of Unicode properties like…
- access a google spreadsheet3
Hi! I'd like to sync an Android database using a google spreadsheet. I am aware of this code pascal-googleapis-oauth2 However I dont see a pascal implementation of…
- Error Message recording not yet supported6
Hello list. I got the "Message recordind not yet supported" error with 2.7.1 and 3.0.1 versions. 2.6.4 is fine. The error points to a zero-length line, between two class…
- FPCUnit - how to register decorator tests?1
Please see attached test project. I have a decorator class and a test class. In the initialization section I call RegisterTestDecorator(), but when I run the test suite,…
- Please trim your quotes8
I'm not the list admin, but please be considerate and trim some quotes before you reply. Most email client support the ability to select a piece of text, then click the…
- Txt2FPDoc 0.8.4 released2
Txt2FPDoc is a command line tool that converts a documentation file written in human readable language to an XML file suitable for FPDoc. Txt2FPDoc tries to make the…
