Any elegant way of text string handling?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: Any elegant way of text string handling?

    Why not use a termination character, say 0 terminated string.

    So you only have to check if you reached the 0 value in the data area that your message is stored.

    This is what Richard suggested. No calculations required.

    Ioannis

  2. #2
    Join Date
    Feb 2013
    Posts
    1,154


    Did you find this post helpful? Yes | No

    Default Re: Any elegant way of text string handling?

    Nice idea, but I have to have all entries for next string marked, so this makes no big difference.....

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: Any elegant way of text string handling?

    It sure does...

    Think about it.

    Ioannis

Similar Threads

  1. Replies: 3
    Last Post: - 3rd December 2011, 23:48
  2. How to prepare text (lots of text) for HSEROUT ?
    By Byte_Butcher in forum General
    Replies: 0
    Last Post: - 15th February 2010, 23:31
  3. Elegant "in circuit programming"
    By Ted's in forum General
    Replies: 15
    Last Post: - 1st September 2008, 00:42
  4. Interrupt handling on 16F628A
    By Mugelpower in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd January 2008, 00:20
  5. interrupt handling faster than if's?
    By mbw123 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th October 2006, 02:25

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