What are Pascal Strings?

Pascal strings were made popular by one specific, but huge influential Pascal implementation, named UCSD. So UCSD Strings is a better term. This is the same implementation that made bytecode interpreters popular. In general it is not one specific type, but the basic principle of having the size prefixed to the character data. This makes … Read more

Object Pascal vs Delphi?

Object Pascal was an object oriented extension of Pascal developed by Apple. The first version of Delphi was evolved from Turbo Pascal. The object oriented features in Turbo Pascal were, rightly, considered not fit for purpose. So Borland developed Delphi 1 and incorporated much of the Apple Object Pascal language. So the language for the … Read more

Pascal and its current applications [closed]

Note that older (1.0.x) versions of the Free Pascal compiler sources were effectively Turbo Pascal compatible (as in could be debugged with TP), which demonstrates basic Pascal capabilities. The question of use of Pascal as a basic language is roughly the same as for C, since they are nearly equivalent on a language level. The … Read more

Delphi XE6 link C code in iOS

The code looks proper and your calling convention handling is, to my eyes, perfectly correct. I think you may have ran into a possible/rumoured bug in Apple’s ARM clang where calling a static function (which may happen behind the scenes e.g. for type conversion) from a static function may cause stack corruption. You’re not doing … Read more