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

    Quote Originally Posted by skimask
    I don't remember where I first saw it, but I don't think it was in the optimization thread.
    Right ... Which must be why both ...

    Nokia COLOR LCD PicBasicPro 2.50a example code
    http://www.picbasic.co.uk/forum/showthread.php?t=8135

    122x32 GLCD basic code
    http://www.picbasic.co.uk/forum/showthread.php?t=6574

    have the exact same macro and code.
    Except it's Colonized.<hr>

    It doesn't surprise me at all that you refuse to follow thru.

    That's pretty much your normal approach. Never answer directly, make them look it up in that "Little Green Book". Examples must be modified to work, and I'm not writing it for you.

    And just like the way you say how other people's work won't pass by the instructors at the classes you take in the AF. &nbsp; If you were to show your only code examples (linked above), to a programming instructor ... well, after he got up off the floor from laughing, he'd write a big red F on the front.

    So before you start your next "It's in the book" or "if you had read the datasheet".

    Let's see if you can actually write a program. Not even a program really, just one simple function that works with PBP. Not chip specific, not version specific, just PBP compatible, that covers what people would need to do to copy a string from Flash. It should also pass those "instructors".

    As the second highest poster on this forum, you really should have at least 1 "Passing" code example.
    DT

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    It doesn't surprise me at all that you refuse to follow thru.
    That's pretty much your normal approach. Never answer directly, make them look it up in that "Little Green Book". Examples must be modified to work, and I'm not writing it for you.
    Sounds like 'Instant Gratification' rules again. Give a guy a simple direct answer for a simple problem and that same guy will be back for more 'cause that person didn't figure out how to read and/or look for something somewhere else.

    And just like the way you say how other people's work won't pass by the instructors at the classes you take in the AF.
    Because most of the work that I have to do almost ALWAYS involves lives and/or equipment, most of the equipment 'one-off' or 'limited asset' type, or otherwise 'secret squirrel' stuff. You have to agree that the bulk of the work/code/schematics here are done by hobbyists and not people out for a buck or two (although it would be nice), and most likely doesn't have any time constraints placed upon it, therefore, time spent researching a problem, trying to figure it out wouldn't be a bad investment by the end user.

    If you were to show your only code examples linked above, to a programming instructor ... well, after he got up off the floor from laughing, he'd write a big red F on the front.
    Well, I'm not in any sort of class, I don't have to show my code to an instructor, I don't have to have it pass any others criteria except my own, and my main question at the end of the day is 'Does it work right?'. And besides that, how much 'real world' experience does the average instructor actually have?

    So before you start your next "It's in the book" or "if you had read the datasheet". Let's see if you can actually write a program.
    Even though you've never seen the stuff in person, you know as well as others probably do, that I've got plenty of working projects out there, both posted on that webpage of mine and otherwise. I don't think I'd still be doing this if I couldn't read a manual or a datasheet. I just discovered these forums a couple of years ago. Before that, nothing, just datasheets and printouts.

    Not even a program really, just one simple function that works with PBP. Not chip specific, not version specific, just PBP compatible, that covers what people would need to do to copy a string from Flash. It should also pass those "instructors".
    Tell that same thing to the guys at MeLabs and Microchip... Get THOSE guys to make PBP and MPASM compile and assemble an identical copy of the same program, any program, across all of the PIC families, all of the PIC revisions. But since we're talking PBP here, get the guys at MeLabs to write PBP so it'll compile 'BLINKY' so it'll work, first time, across all PIC devices, without the end user having to change around the CONFIG fuses to get 'BLINKY' to work. I mean the most popular answer to a problem here has to be along the lines of 'Set ADCON1 to this or ANSEL to that'. That's nothing new. The answer is in the PBP manual, it's in the datasheets, it's in the FAQ here, and yet we see that same question literally a few times a week. Why hasn't anything been done about that at MeLabs or Microchip (MPASM)? Well, except for the 'new' CONFIG bit in the newer PICs for bringing up A/D ports to digital on reset, which again, is that CONFIG bit set for analog or digital by default?

    As the second highest poster on this forum,
    Second highest poster? Poster of what? Poster child for colons:?

    you really should have at least 1 "Passing" code example.
    Passing who's criteria? Yours? Mine? The next noob to register?

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


    Did you find this post helpful? Yes | No

    Default

    Well, I'm not in any sort of class, I don't have to show my code to an instructor, I don't have to have it pass any others criteria except my own
    Actually, you do.

    Crownhill was very specific with the rules in this Announcement.
    http://www.picbasic.co.uk/forum/announcement.php?f=4


    But instead of hijacking threads, you are highjacking the whole forum.
    At least 80% of all new posts are replied to first by skimask. Often in 5 minutes or less from the original post.

    It's almost never a direct answer. And usually something like ... What have you done before, can you blink an LED, have you even looked at the datasheet. The answers are in the "Little Green Book".

    As a moderator, I can not allow the forum to be dominated by someone that has clearly shown he has no idea how to write a program for PBP.

    You could change that opinion, or you can stop doing what you're doing.

    Your choice.
    <br>
    DT

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Actually, you do.
    Crownhill was very specific with the rules in this Announcement.
    http://www.picbasic.co.uk/forum/announcement.php?f=4
    But instead of hijacking threads, you are highjacking the whole forum.
    At least 80% of all new posts are replied to first by skimask. Often in 5 minutes or less from the original post.
    The machine is on, I walk by, there it is... Usually, I answer during an F9, which on my dev system takes a little over a minute (haven't put together the new system yet to cut that time down).

    It's almost never a direct answer. And usually something like ... What have you done before, can you blink an LED, have you even looked at the datasheet. The answers are in the "Little Green Book".
    So, the answers are already there...

    As a moderator, I can not allow the forum to be dominated by someone that has clearly shown he has no idea how to write a program for PBP.
    Stop! You're hurting me!

    General
    This site hopes to provide an educational environment for people to discuss and share ideas that relate to melabs pic basic and pic basic pro products
    Sharing ideas...
    Now that's good. This isn't sharing. The bulk of the time it ends up being a give and take. A few give, a lot take.
    And I just figured out what you meant by '2nd highest poster'. Didn't realize you could sort on 'Posts' under 'Members List'. Look at the number of 1-2-3 post users that never come back to share their experiences. Somebody gave, they took, and bailed out.

    General posting rules and tips:
    Please try to do some basic research before posting.
    Most fundamental questions have already been asked and replied to ....many times. Use the Forum search feature.
    Ya think this might apply to the bulk of the new thread? Maybe instead of 'It's in the book' or 'It's in the datasheet', I'll just start referring to this little bit and it should cover it...right?

    I don't think anything else in there really applies (i.e. vulgar, illegal, etc).

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    I think you've got some form of obsessive compulsive disorder Jeremy. There's some really good medication available to treat that sort of thing. Nothing to be ashamed of mate -- we all get sick throughout some stage of our lives. I personally had a mild case of depression a few years back.

    Trent Jackson

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    I think you've got some form of obsessive compulsive disorder Jeremy. There's some really good medication available to treat that sort of thing. Nothing to be ashamed of mate -- we all get sick throughout some stage of our lives. I personally had a mild case of depression a few years back.

    Trent Jackson
    Yep, that's me...that's me...that's me...that's me...
    I see that [Submit Reply] block and I can't pass it up....
    I have to click on it.
    Doesn't matter what the subject is...I have to click on [Submit Reply]
    I aches to have me, just me, and only me click on [Submit Reply] I must [Submit Reply]

    Let me know how it all works out for you when you get over it....or don't....preferably option #2...nah, never mind, take option #3...repeatedly...then again, I have been applying poly to my latest couple of projects...maybe I should ventilate a bit more...wait a minute! I'm outside. Well, not really outside, more of a screened-in greenhouse. How much more ventilation do I need? This laptop is hard to see in the sunlight. Do they make a pill for that too?

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    I think it's a mild case because you're not really that particular with your work, as in being eccentric enough to the point where every non-critical bolt on an engine must be tightened exactly the same to a specific amount of torque when there's absolutely no need to.

    Trent Jackson

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