摘要:
function XXXReverseString(const AText: string): string;var S, D: Pchar; i: Integer;Begin S := Pchar(AText); SetLength(Result, Length(AText)); D := Pchar(Result); for i := Length(AText) - 1 downto 0 do... 阅读全文
摘要:
procedure Move( const Source; var Dest; count : Integer );{$IFDEF PUREPASCAL}var S, D: PChar; I: Integer;begin S := PChar(@Source); D := PChar(@Dest); if S = D then Exit; if Cardinal(D) > Cardinal(... 阅读全文
摘要:
http://www.codexterity.com/http://www.drbob42.com/delphi7/index.htm 阅读全文
摘要:
http://www.codexterity.com/delphistrings.htmA Brief History of StringsDelphi strings in depthStrings are a bit of a mystery to most Delphi developers. The fact that new features are added in almost ev... 阅读全文
摘要:
Inline Assembler in Delphi (I) IntroductionBy Ernesto De Spirito <edspirito@latiumsoftware.com>This article simply intends to introduce you to the world of inline assembler in Delphi. It will ba... 阅读全文
摘要:
Inline Assembler in Delphi (II) ANSI stringsBy Ernesto De Spirito <edspirito@latiumsoftware.com>In this chapter we will learn a few more assembler instructions, and the basics of working with AN... 阅读全文
摘要:
Inline Assembler in Delphi (VI) Calling external proceduresBy Ernesto De Spirito <edspirito@latiumsoftware.com>API functions and the Stdcall calling conventionAPI functions are called transparen... 阅读全文
摘要:
Inline Assembler in Delphi (V) An Introdunction to ObjectsBy Ernesto De Spirito <edspirito@latiumsoftware.com>Objects are recordsFrom the assembler point of view, an object is like a record, who... 阅读全文
摘要:
Inline Assembler in Delphi (III) Static ArraysBy Ernesto De Spirito <edspirito@latiumsoftware.com>Passing static arrays as parametersStatic arrays parameters are passed as pointers to the first ... 阅读全文
摘要:
Inline Assembler in Delphi (IV) RecordsBy Ernesto De Spirito <edspirito@latiumsoftware.com>Passing records as parametersLike static arrays, records are internally passed as pointers to the data,... 阅读全文