IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Jul 2011 Issue - Delphi Edition

Subscribe!

Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Delphi group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
portal.prestwood.com
  July 2011 - Delphi Edition (762 of 4,803 subscribers receive this group's content.) Year 13 Issue 7  
Your full service technology partner!


Expert guidance from working professionals!
Help Wanted! topic:
Contribute To The Prestwood Community
by Mike Prestwood
We are always looking for talented developers to participate in our message boards, post articles, etc.

IT Water-Cooler for Power-Users topic:
Top 10 Things That Annoy Programmers
by Wes Peterson
http://www.kevinwilliampang.com/2008/08/28/top-10-things-that-annoy-programmers/





 Delphi Group Top 
Visit Group | My Group Settings
Using Data topic (classic post):
Reindexing and Packing dBASE and Paradox Tables
by Mike Prestwood
How to reindex and pack Paradox and dBASE tables.

OOP topic (classic post):
A 10 Minute Your First Delphi Class Quick Start
by Mike Prestwood

Beginners example of creating and using a class. Early versions of Delphi use the standard OO private, protected, and public visibility specifiers plus add published for RTTI info. Later versions of Delphi add strict private and strict protected for a true OO implementation.


 Monthly Delphi Lesson
OOP Topic:
Code Snippet of the Month

Up until D2005, private and protected were not implemented strictly. Starting with D2005, a traditional strict versions of OOP are supported using the strict keyword. OO purist will want you to use strict private over private and strict protected over protected. I suggest you follow that advice until you both fully understand the differences and have a specific need. Delphi offers a special published specifier which is the same as public members but runtime type information (RTTI) is generated.

TCyborg = class(System.Object)

private
//Don't use accept when you really want private friendly members.
strict private
//Use as your default private members.
  FName: String;

protected
//Don't use accept when you really want protected friendly members.
strict protected

//Use as your default protected members.
public
  


published
  //RTTI Info


end;
Delphi for Win32 Topic:
Resource Link of the Month: CodeGear Blogs

Here you will find blogs from David I, Nick Hodges (Delphi Product Manager), and many other notable Delphi enthusiasts.

OOP Topic:
FAQ of the Month: Sealed Classes
Question:

What is a sealed class?


Answer:

A class which prevents another class from inheriting from it and/or prevents another class from overriding a member. The concept of making sure a class is the last class in a descendant class tree.

Examples - /ASPSuite/KB/CrossRef.asp?LangID=&ToLangID=&CatID=10&SyntaxID=4

Language Basics Topic:
Tip of the Month

Format the IF/Endif for easy reading. I have found this to be easy to read and follow:

if (         (something = somethingelse)
      and (x = y)
      and (z = a)
   ) then
begin
..
end;

To indent the structure and line up the parenthesis makes it, I feel, much easier to read.



Sales Website: www.prestwood.com Or visit our legacy sales site: 
legacy.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]