Problem I have created this function for Delphi 10.1 Berlin to validate an email address entered by the user: function […]
Tag: delphi
Defining a new Delphi Class with built-in Connection
Problem Using Delphi XE2, I’m wondering if it would be usable to define a base object something like below. Class […]
Factorial using trampolines
Problem I’ve translated this Java code into Delphi code: unit Trampoline; interface type ITrampoline<T> = interface function Get: T; function […]
Defining a new Delphi Class with built-in Connection
Problem Using Delphi XE2, I’m wondering if it would be usable to define a base object something like below. Class […]
Executing large SQL script file with GO statements using ADO
Problem I wrote a small component (still in the works but working) which takes a large SQL script file, splits […]
Produce an array of strings from a single string
Problem I have a function that reads a string like this (AnimalCount+HumanCount) and the result of this function is an […]
Fastest fill memory with specified 64-bit value
Problem I need to fast fill a memory block in C#, so I wrote something like this (in Free Pascal […]