copy-string 'function'


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Nope.

    You are incrementing the stringpos variable, but using addr in the readcode. It'll be reading the same byte over and over.

    There is no copystring1 label.

    It shouldn't be necessary to zero out the rest of the array. A single 0 at the end of the string should be sufficient to mark the end.

    And it's only good for 18F's.
    Probably just what you're using, but what about the other guy's?

    You put it in the Code Example's forum.
    Typically, this is for Tested, known to be working code.
    DT

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    DOH...DOH...DOH...DOH...and...uh...DOH! That's what I get for coding at 2am.
    Slide it over to the Off-Topic if you get a chance.
    I was looking over the posts from a couple years ago concerning the embedded HSEROUT/string routines at the time, probably why it ended up in 'Code Examples'.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    skimask,

    I see that you have linked to this thread a few times as a possible solution to people's problems. But you never did finish it.

    It certainly won't work like it is.
    <br>
    DT

Similar Threads

  1. How about String Variables?
    By mytekcontrols in forum PBP Wish List
    Replies: 40
    Last Post: - 20th January 2015, 13:53
  2. Replies: 11
    Last Post: - 12th July 2008, 03:36
  3. Embedded Strings in your Code Space
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 9th March 2008, 08:50
  4. Visual Basic 6 & Access 2000
    By Demon in forum Off Topic
    Replies: 33
    Last Post: - 7th September 2006, 05:39
  5. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 11th July 2005, 00:17

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