freepascal
Instance reference in Delphi?
开发者_开发百科What\'s the Delphi equivalent of \'this\' in C++?Could you please give some examples of its use?In delphi Self is the equivalent of this. It is also assignable as described in here.In m[详细]
2023-03-22 14:15 分类:问答TStringList .add produces duplicates from random function
Having a problem I can\'t seem to put my finger on. I am trying to gather strings (random code with letters and numbers) from a function call and place into my TStringList variable. Relevant code is b[详细]
2023-03-20 21:45 分类:问答Catching FreePascal Exception in GDB
I have a huge pascal code compiled with fpc. I am getting random \"EInOutError\" exception and I am trying to debug it using gdb.[详细]
2023-03-15 06:29 分类:问答FreePascal 64 bit DLL and calling C# Application
I am trying to compile a 64bit dll for use with a 64bit C# application. I have a simple class and a simple app to try and test it and it falls over no matter what I try and do.Here is the code:[详细]
2023-03-12 21:59 分类:问答How can I swap some values in a string variable and write it back with new values using Free Pascal?
Having read a line from a text file using ReadLn(InputFile, strVar), I need to read each character of strVar, and if it contains the letter \'E\' (for example), I want to output (write to a new file,[详细]
2023-03-09 05:34 分类:问答How to read input word by word in FreePascal?
I would like to read from standard input word by word (i.e., the input string is always a collection of words separated with blanks). Now I\'m using the rea开发者_开发百科d function and I read the inp[详细]
2023-03-09 01:56 分类:问答Writing Delphi/FreePascal DLL to be called from gcc application
I need to make parts of my Win32 Delphi app available to another company\'s Linux gcc program. Throughput and deployment requirements make any s开发者_开发百科ort of remote service unsuitable so I\'m[详细]
2023-03-08 08:44 分类:问答Querying MYSQL from an external application (is my code inefficient)?
I have a database that I need to query over and over as fast as possible. My queries execute pretty quickly, but there seems to be some additional lag.[详细]
2023-03-08 00:48 分类:问答Weird runtime error while implementing a bubble sort in Pascal
This snippet not only causes a runtime error, it makes FPC close if I run it using the debugger. procedure sortplayersbyscore(var vAux:tplayers);[详细]
2023-03-07 02:44 分类:问答Pascal - not writing to file
Howdy, Pascal masters! I\'ve got a file type of custom records: DBCell = record Name: string[10]; Surname: string[15];[详细]
2023-03-04 19:24 分类:问答