fpc-pascal · 2018-04
- Prorammatically sending file using HTTP POST?15
I have written a Lazarus/FPC program to configure an IoT device via a tcp server I have implemented on the device. It all works well for setting the parameters etc. Now…
- Next language feature for pas2js...40
Now that interface support has been added to the list of implemented language features of pas2js, we're looking to get feedback on what best to tackle next. This time,…
- Locale question0
I have a text file, containing '£' characters, that file -bi reports as text/plain; charset=utf-8 When I try to write a simple pascal program to edit this file using…
- Stack alias for ARC like memory management?39
I had another idea and I was just curious what anyone thought about it. Between C++ where classes can either be on the stack or heap and full ARC like in Swift/Java FPC…
- Blowfish encryption: What I´m doing wrong?2
Hello guys I´ve a single code to encrypt/decrypt strings using Blowfish. function TBlowFishCripto.Encrypt(const Value: string): string; var en: TBlowFishEncryptStream;…
- Multiple active class helpers at same time17
I am sure that this was already discussed, but I can not find any conclusion. Is planned support for multiple class(objet, record) helpers in a way, that all class…
- Read comments via fcl-passrc5
while working with fcl-passrc I search for a possibility to get the comments of a source file in the parsed tree. I found TPasTreeContainer.NeedComments but it does…
- pointerful4
Is this a bug or a feature: type Pint = ^int; int = PInt; ? Mattias
- Where to download OpenSSL (for windows 64 bit) that is used by fphttpclient2
According to http://wiki.lazarus.freepascal.org/fphttpclient, I need the openssl library if I want to use fphttpclient for https://www.yahoo.com/ From the wiki, it went…
- Using constants instead of comments6
I have a whole section of diagnostic writeln's in a program, and it's tedious to comment them all out/in as needed. I'm curious if doing something like Const…
- compile time init'ing records8
It’s a real pain setting default values for records in Pascal at compile time. Every other language seems to get this right but it’s a constant issue in Pascal. The…
- The unfortunate deprecation of GetTickCount20
GetTickCount has been deprecated in favor of GetTickCount64, which gives a qword result and so it "solves" the wrap-arount to 0 of the tick after 49.7 days, so one…
- Proposal for new Free Pascal logo29
These days, most modern programming languages have its own logo. The logo becomes a "brand", a unique visual identity for the language. It also acts as a "trademark", a…
- 0030208: "not" doesn't work properly on bitpacked booleans3
I was going to report a bug but I see it's already fixed https://bugs.freepascal.org/view.php?id=30208 however it's still there in 3.0.4, released a year and a half…
- Inline scoped enums5
How can this code {$scopedenums on} type Bar = set of (A, B, C); refer to A, B, C?
- Seek with text file7
I am trying to figure out how I can remove the last line of a text file to replace it with a new one. I can do this with typed files with seek... but I am confused on…
- Lazarus Mailing list down?2
Hi All. I haven't gotten any mails on the Lazarus mailing list since 31/03-2018 - and the two mails I sent today doesn't seem to have gone through. Torsten.
- Re: Proposal for new Free Pascal logo5
The logo is very good, and well connected to the tradtion set by the animated gif. The alternative would be to use a frame of the animation, or similar sideways cheet
