PicPuter

  Home
  Products
  Contact

Using

  Download
  Manual
  Examples
  UserGroup

Development

  Revision
  Future
  Bugs

Other

  DLHexRec
  Modd Audio
  Veracity
  DSP
  Blinky

Miscellaneous

  Links
  Search
  Obsolete
  Site Design
  Disclaimer

 
.
PicPuter 2.0 : Appendix C : Contractions

Most commands and variables can be shortened to save keystrokes, for instance the command;

CONFIGURATOR = CONFIGURATOR OR Y

may be inconvieniently long to type.
This is where contractions may be useful. This same command may be shortened to;

CON = CON OR Y
or
CONFIG = CONFIGURAT OR Y

Most spaces and all commas are also optional so the same command can be shortend to;

CON=CONorY

but the second example, CONFIG = CONFIGURAT OR Y, will not work.
It requires 1 space after the T because CONFIG=CONFIGURATorY would be interpreted as
CONFIGURATOR = CONFIGURATor Y
which is a syntax error.

When bit 13 is SET in the CONFIGURATOR register (SETCON13), the output of the LIST command is altered and everthing is listed as contractions. This may be useful if you are listing to an LCD display using the LCD_MIRROR bit (SETCON7).


[ index | memory | math | statements | variables | registers | assembler ]

This webpage is © Copyright 2001,2002,2003 by Todd Modjeski - All Rights Reserved - built Mon Jan 26 22:48:29 2004