exception on (bypass) clear command


+ Reply to Thread
Results 1 to 3 of 3

Thread: exception on (bypass) clear command525 days old

  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    116
    Thumbs Up
    Received: 3
    Given: 2
    Total Downloaded
    98.25 MB

    0 Not allowed!

    Default exception on (bypass) clear command

    hello,

    I have here a fine workig code and when the device comes from the standby mode it uses the CLEAR command to clear everything and start fresh... this works nicely.
    NOw I have the idea to add a clock (which should also continue in standby..). Is there a possibility to use the clear command with exceptions? To bypass some values? Ofcourse, I could clear everything individually but that will take a lot of work to find everything back (and a lot of retesting)..

    I was thinking of writing it to the eeprom and take it back after the clear command but it looks a bit like shooting with a canon to a mouse...
    seondly, my eeprom space is almost out so I would not like to use it too much for future developments....

    anybody a good idea?

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,532
    Thumbs Up
    Received: 75
    Given: 33
    Total Downloaded
    6.56 GB

    0 Not allowed!

    Default Re: exception on (bypass) clear command

    Before I read the eeprom part I was thinking the same, write to eeprom and then retrieve it. If you are running out of eeprom space you could use a CWrite, but I never used it so cannot give you examples.
    Regards

    Joseph

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Prolific Poster
    Join Date
    Mar 2012
    Posts
    2,318
    Thumbs Up
    Received: 80
    Given: 182
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: exception on (bypass) clear command

    Provided the values you do not want cleared are either at the start or the end of RAM a simple FOR NEXT loop will clear memory.

    The downside of Cwrite (write to code ROM) that you are limited to the number of times you can write - although I beleive that number is pretty large on newer devices.
    George.

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. What does the 'Clear' command actually clear?
    By HelpMe! in forum Proton Plus Compiler v3
    Replies: 4
    Last Post: 9th January 2009, 08:52
  2. Extension to CLEAR command
    By Paul Shepard in forum Wish List / Product Feedback
    Replies: 0
    Last Post: 11th May 2004, 13:16

Tags for this Thread

Posting Permissions

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