fpc-pascal · 2021-08
- Hello, new Pascal programmer. had a question!26
I am a new programmer, and I thought I'd learn Pascal. I saw that with FreePascal, most users are using Lazarus. I don't want to use this and would rather work in the…
- Example for unit paszlib2
Is there an example for the unit paszlib? This does not work: https://wiki.lazarus.freepascal.org/paszlib I have Lazarus 2.0.0 FPC 3.0.4 May be there are different…
- Bookmark, TBookmarkStr, TBytes and BytesOf8
Hello: Freepascal 3.2.0. Windows 7-32bits TMyObject=class private fDset:TDataset; function GetBookmark:TBookmarkStr; ... end; function…
- Raise exception in libray which will not halt host application6
is there way how to raise exception in library without using SysUtils? Now I call System.RunError() in case unexpected situation occurs in library (DLL), but this exits…
- function const default argument3
Hello: Freepascal 3.2.0. Windows 7-32bits I have these functions: function F(const x:extended; const delta:extended=1E-8):extended; function G(const x:extended; const…
- Conditional compilation using {$IFOPT ...} and {$IF OPTION(...)}1
looking at https://www.freepascal.org/docs-html/prog/progsu126.html#x139-1400002.4.1 There is mentioned "OPTION(opt)" with comment: "evaluates to TRUE if a compiler…
- FreePascal inc file0
I tried to compile something that used "osunits.inc" on a Raspberry Pi. I couldn't find the file. Yes I installed fpc-source. Terry H.
- Better way to handle callback types6
FPC has a number of function pointer types and eventually will have another in "reference to" closures. This presents a problem of how the programmer can make a function…
- Explicit Interface implementation and inheritance2
Why is interface implementation not inherited, if explicit implementation is used. Example. Here are interfaces: IAAA = interface procedure MethodA; end; IBBB =…
- How to get fpc and lazarus sources when svn has shut down?43
I have for many years been using an install script I wrote to install a complete freepascal/lazarus dev environment on Raspberry Pi devices. The script uses subversion…
- How to use XMLCfg?2
Tried Laz2_XMLCfg unit. Result is «Project createxml raised exception class 'External SIGSEGV'. In file 'C:\lazarus\components\lazutils\laz2_xmlcfg.pas' at line 165:…
- FPC move to mantis completed0
After several technical issues (8 tries were needed to convert the FPC sources to git), the move from svn/mantis to gitlab has been completed. The FPC sources are now…
- Old Mantis issue broken URL redirection1
URL redirection of old mantis issue to Gitlab is not working https://bugs.freepascal.org/view.php?id=[issue id] redirects to…
