Delphi - Delphi Learning Pack 9 Books In 1 File - 3000 Pages.pdf

(29020 KB) Pobierz
Mastering Delphi 6
Essential Pascal
l
l
l
l
Marco Cantù's
Essential Pascal
Introduction
October 1, 1999: Book is on Delphi 5 Companion CD.
Source Code available. Examples list added .
Book Cover. Apollo, the god worshipped at Delphi,
in an Italian 17th century fresco.
The first few editions of Mastering Delphi, the best selling Delphi book I've written, provided an introduction to the Pascal language in
Delphi. Due to space constraints and because many Delphi programmers look for more advanced information, in the latest edition
this material was completely omitted. To overcome the absence of this information, I've started putting together this online book,
titled Essential Pascal .
This is a detailed book on Pascal, which for the moment will be available for free on my web site (I really don't know what will
happen next, I might even find a publisher). This is a work in progress, and any feedback is welcome. The first complete version of
this book, dated July '99, has been published on the Delphi 5 Companion CD.
Copyright
The text and the source code of this book is copyrighted by Marco Cantù. Of course you can use the programs and adapt them to
121254650.003.png 121254650.004.png 121254650.005.png
Essential Pascal
your own needs, only you are not allowed to use them in books, training material, and other copyrighted formats. Feel free to link
your site with this one, but please do not duplicate the material as it is very subject to frequent changes and updates.
The Book Structure
The following is the current structure of the book:
l
l
l
l
l
l
l
l
Chapter 8: Memory (and Dynamic Arrays)
l
l
l
l
l
Source Code
The source code of all the examples mentioned in the book is available. The code has the same Copyright as the book: Feel free to
use it at will but don't publish it on other documents or site. Links back to this site are welcome.
Download the source code in a single zip file, EPasCode.zip (only 26 KB in size) and check out the list of the examples .
Feedback
Please let me know of any errors you find, but also of topics not clear enough for a beginner. I'll be able to devote time to the project
depending also on the feedback I receive. Let me know also which other topics (not covered in Mastering Delphi 4) you'd like to see
here. Again, hook onto the newsgroup, listed on my web site, and look for the books section, or mail to marco@marcocantu.com
(putting Essential Pascal in the subject (and your request or comment in the text).
Acknowledgements
If I'm publishing a book on the web for free, I think this is mainly due to Bruce Eckel's experience with Thinking in Java. I'm a friend
of Bruce and think he really did a great job with that book and few others.
As I mentioned the project to people at Borland I got a lot of positive feedback as well. And of course I must thank the company for
making first the Turbo Pascal series of compilers and now the Delphi series of visual IDEs.
I'm starting to get some precious feedback. The first readers who helped improving this material quite a lot are Charles Wood and
Wyatt Wong. Mark Greenhaw helped with some editing the text. Rafael Barranco-Droege offered a lot of technical corrections and
language editing. Thanks.
Essential Pascal
Author
Marco Cantù lives in Piacenza, Italy. After writing C++ and Object Windows Library books and articles, he delved into Delphi
programming. He is the author of the Mastering Delphi book series, published by Sybex, as well as the advanced Delphi Developers
Handbook. He writes articles for many magazines, including The Delphi Magazine, speaks at Delphi and Borland conferences around
the world, and teaches Delphi classes at basic and advanced levels.
You can find more details about Marco and his work on his web site, www.marcocantu.com .
© Copyright Marco Cantù, Wintech Italia Srl 1995-2000
 
Essential Pascal
l
l
l
l
Marco Cantù's
Essential Pascal
Appendix B:
Examples
This is a list of the examples which are part of Essential Pascal and available for download:
Chapter 3
ResStr: resource strings
Range: ordinal types ranges
TimeNow: time manipulation
Chapter 4
GPF: general protection faults with null pointers
Chapter 5
IfTest: if statements
Loops: for and while statements
Chapter 6
OpenArr: open array parameters
DoubleH: simple procedures
ProcType: procedural types
OverDef: overloading and default parameters
Chapter 7
StrRef: strings reference counting
LongStr: using long strings
FmtTest: formatting examples
Chapter 8
121254650.001.png 121254650.002.png
Essential Pascal
DynArr: dynamic arrays
WHandle: Windows handles
Callback: Windows callback functions
StrParam: command line parameters
Chapter 10
VariTest: simple variant operations
VariSpeed: the speed of variants
© Copyright Marco Cantù, Wintech Italia Srl 1995-2000
 
Zgłoś jeśli naruszono regulamin