Indexing DEC modifier


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891

    Default Indexing DEC modifier

    Hi,

    Is it possible to index the DEC modifier used in LCDOUT or SEROUT commands?

    I'm adjusting the number of digits on my 1x8 LCD and would like to avoid too many LCDOUT commands.
    Roger

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default Re: Indexing DEC modifier

    Sorry, stupid question :-(

    DEC without number specified will display the correct number of digits and automatically trim the leading zeros (...).
    Roger

Similar Threads

  1. Modifier error?
    By pedja089 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th June 2011, 15:52
  2. Is a modifier necessary?
    By Ramius in forum Serial
    Replies: 4
    Last Post: - 8th May 2011, 20:43
  3. LCDout $FE,2, dec Days - What is dec ?
    By merc07 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th June 2009, 04:03
  4. HOW do I use the REP c/n modifier ?
    By Simon Brodeur in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd September 2005, 21:51
  5. 12F675: DEC modifier not accepted
    By jswayze in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st September 2005, 02:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts