Your full service technology partner! 
-Collapse +Expand
Search Paradox Group:

-Collapse +Expand Paradox To/From
-Collapse +Expand Paradox Store

Prestwood eMagazine

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

   ► KBDesktop Data...Paradox & Ob...P9 Book: Pow...   Print This     
  From the May 2015 Issue of Prestwood eMag
Paradox P9 Book: Power Programming:
Power: d_Appendix A, Prestwood Coding Convention
Posted 14 years ago on 9/28/2006 and updated 2/10/2009
Take Away:

This chapter will introduce you to creating both menus and pop-up menus. If you are going to create an application-wide menu, then I strongly recommend you use Paradox’s Application Framework. This chapter will instruct you how to create menus for non-Application Framework applications and pop-up menus you can use with both.


About Coding Conventions

A coding convention consists of the rules that you use to type your code, names, objects, and so on. Every programming language is flexible in how you use it. Developing a consistent coding convention is very important. With a good, consistent coding convention, your code is much easier to read and maintain. In the long run, it saves you time and money. In order for programmers to use it, a coding convention needs to be simple and easy to remember.

How we Apply Coding Conventions to YOUR Project

Our developers are aware of best practice standards for coding and apply them as appropriate to your project. If we're performing maintenance coding, then we strive to "fit in" to the current coding convention. If this is a new project we will create a Project Specific Developer's Guide which contains developer to developer standards, suggestions, and usage applied to the project. In addition, we sometimes create a developer's guide for maintenance projects if either no obvious coding convention exists or a mixture of coding conventions were used.

Standard Versus Suggestion

Throughout a good quality coding convention standard, you will see the terms “standard� and “suggestion� used carefully. A standard is a coding convention that you must follow. A suggestion is just that, a suggestion. Although following the suggested coding convention is wise, there will be plenty of exceptions.

SAMPLE: Prestwood Coding Convention (PCC)

We offer PCC as an example of a fairly well known coding convention authored by Mike Prestwood and used by many Paradox developers in the 1990s. PCC is a coding convention that has been public since it was first published in June of 1994. It is not to be considered set in stone, but is to act as a guideline and is to be used in accordance to the needs of the current project. Except for some introductory material, this Paradox Edition is the same as published in Mike Prestwood's book, "Corel Paradox 9 Power Programming: The Official Guide".


Share a thought or comment...
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P176A1
Enter key:
KB Post Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #100403 Counter
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site:

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