Category: compiler
From Delphi 2007, it is possible to use the keyword inline (similar as C++) to explicitly tell the compiler to inline a function or a procedure. For example, with the inline keyword, …
The Delphi has been out of the mainstream programming languages for a while. It is not because it is not good. There are many reasons that it is not …
The Ackermann function is mathematically defined as: The Ack function is well-defined total math function which is compute-able but not a primitive recursive function. Its value grow so quickly …
Heron’s Formula is a method to compute the area of a triangle when you know its three sides, a, b, and c. The area S is then based on p where and can be easily implemented …
November 26, 2012
assembly language, beginner, compiler, delphi, implementation, interpreter / compiler, profiler, programming languages, tools / utilities, tricks
In Delphi, you can use SizeOf to get the size of a type or any variable. The SizeOf function returns the storage size, in bytes, of either a Variable …