The Best Solution


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Code:
    IF (ml_value[temp]-$5B)<$27 THEN
        Summe_alarm.0[temp]=0
    ELSE
        summe_alarm.0[temp]=1
    ENDIF
    When used with FOR NEXT or any of the others, this should further cut time and code space .....

    ASM anyone?
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Worth to measure it... do we need to start a 'coding challenge' here... if so, i'll warn Darrel, he like that
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by mister_e View Post
    Worth to measure it... do we need to start a 'coding challenge' here... if so, i'll warn Darrel, he like that
    I didn't take the time to check everything except code words for a few cases. It looks like it saves some; the amount depends on what it is inserted between.

    you might want to warn Bruce as well
    Last edited by paul borgmeier; - 28th May 2007 at 05:23. Reason: added more detail
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yes but first, we have to get rid of the .0[temp] for speed (see previous post).

    i'm thinking of some kind of aliasing... but, i keep thinking...

    Yeah, it's getting interesting
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Strange I2C problem (and solution)
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th December 2008, 19:14
  2. Replies: 6
    Last Post: - 20th September 2008, 12:28
  3. Replies: 7
    Last Post: - 7th February 2008, 09:46
  4. Need PC software solution
    By mister_e in forum Off Topic
    Replies: 9
    Last Post: - 27th November 2005, 02:18
  5. Battery Solution
    By Keith in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd July 2005, 06:07

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