Shop OBEX P1 Docs P2 Docs Learn Events
blank template — Parallax Forums

blank template

slowtellslowtell Posts: 5
edited 2006-08-13 02:46 in BASIC Stamp
This appears in The Elements of PBASIC Style

"Using a blank program template will help you organize your programs and establish a consistent presentation."

Can anyone explain this
Thanks

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2006-08-12 14:55
    I think Jon has published a 'blank template' in this "Any BS2" thread.

    This "template" is a file, which has the outlines of a very 'generic' program in it. The idea is you'll take this file as the starting point for each program you write. Since you're starting with the same file each time, the hope is that this will lead to a 'consistent presentation' -- each program you write will at least start out looking similar.

    That's the idea, anyway.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-08-13 02:46
    Hello,

    ·· A template is an "empty" or "blank" program which contains usually just the header comments, the directives, and placeholders for the different sections of the program, such as Variables, Constants, Initialization, Subroutines, etc.· You fill in these areas with your program, but the template acts as a guide to make things neat.· Attached is the one I use for BS2 programs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.