Handling a lot of text data, any simple and practical ways?


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: Handling a lot of text data, any simple and practical ways?

    And what if I add some special character to my data array, so when reading it, I do not no longer need to store length of each string? This should allow me to skip all that ASM things
    how do imagine that would that work ?

    And meanwhile, I have a little problem with usability.
    nothing that a state machine approach can't resolve

    http://www.picbasic.co.uk/forum/showthread.php?t=21109
    http://www.picbasic.co.uk/forum/showthread.php?t=23840
    Warning I'm not a teacher

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


    Did you find this post helpful? Yes | No

    Default Re: Handling a lot of text data, any simple and practical ways?

    Well say I add $FF to end of each string.
    So I need only to know start address of each sentence
    and start reading from there in loop, until inputchar=FF

    And for the input, I can't relate capacitive input or encoder handling with my task.
    These both are yes/no condition, and mine is analog reading...

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: Handling a lot of text data, any simple and practical ways?

    Well say I add $FF to end of each string.
    So I need only to know start address of each sentence
    and start reading from there in loop, until inputchar=FF
    precisely what was offered except using the more useful and commonly accepted null in lieu of the FF

    And for the input, I can't relate capacitive input or encoder handling with my task.
    These both are yes/no condition, and mine is analog reading.
    its the overall concept of key/sw reading to observe, its a universal concept
    Warning I'm not a teacher

  4. #4
    Join Date
    Feb 2013
    Posts
    1,122


    Did you find this post helpful? Yes | No

    Default Re: Handling a lot of text data, any simple and practical ways?

    Well, my code has no ASM

    P.S. A big brother just arrived
    But can't make it work with PBP

    Name:  bigbrother.jpg
Views: 990
Size:  509.9 KB

Similar Threads

  1. Any elegant way of text string handling?
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd November 2020, 16:21
  2. Replies: 11
    Last Post: - 9th March 2020, 12:37
  3. Serious Help Needed-Tried a Lot & Now I am Here
    By Megahertz in forum Schematics
    Replies: 3
    Last Post: - 17th December 2009, 12:12
  4. Serial problem with a lot of chips
    By The Master in forum Off Topic
    Replies: 1
    Last Post: - 20th October 2007, 12:55
  5. Writing serial data to text file
    By TurboLS in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd March 2005, 22:09

Members who have read this thread : 0

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