Category: interpreter / compiler
April 6, 2013
algorithms, assembly language, c / c++, code, compiler, implementation, interpreter / compiler, math, object pascal, optimization, programming languages, tricks
In mathematics, the absolute function is defined as: This function is simple, and quite in popular usages. The absolute value is considered as one of the fundamental operations in …
I have asked a question in stackoverflow.com and it brings some discussions. The question is about the code efficiency generated by Delphi compilers and I’ve tried the following simple example …
The following script snippet is handy at checking whether a folder exists or not at Window Script Hosting Environment using VBScript. Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists("C:\FSO") Then Set …
PIBAS is simple, it only has 2 possible operations: string assignment (e.g. A=’abc’) and printing (e.g. ?A). It supports only one function which is similar to the substr in Javascript …
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 …