Post Reply 
an HP question...
10-24-2017, 01:20 AM (This post was last modified: 10-24-2017 01:39 AM by webmasterpdx.)
Post: #13
RE: an HP question...
I just edited this post....it's in error....everything below this is Rubbish....my WHILE 0 stops the code from ever reaching the IF statements. Leaving this here as a lesson....WHILE 0 never executes whats inside it... LOL

I got some bad news....I found an alternative to CASE that is considerably faster to execute...
I just used the code above, but instead of REPEAT....UNTIL 1; use WHILE 0 DO.....END;
I get results like {0.018_s,0.064_s,2} for example!!!!

That's about 3 times faster....so the faster CASE statement is to do this:

Code:

// Start of CASE statement
WHILE 0 DO
 IF ... THEN ... BREAK; END;
 IF ... THEN ... BREAK; END;
 ... // DEFAULT statement
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
an HP question... - webmasterpdx - 10-23-2017, 03:57 AM
RE: an HP question... - Arno K - 10-23-2017, 06:35 AM
RE: an HP question... - webmasterpdx - 10-23-2017, 07:13 AM
RE: an HP question... - Didier Lachieze - 10-23-2017, 07:44 AM
RE: an HP question... - Arno K - 10-23-2017, 07:37 AM
RE: an HP question... - webmasterpdx - 10-23-2017, 08:06 AM
RE: an HP question... - Gilles59 - 10-23-2017, 12:16 PM
RE: an HP question... - Eddie W. Shore - 10-23-2017, 12:36 PM
RE: an HP question... - webmasterpdx - 10-23-2017, 10:26 PM
RE: an HP question... - webmasterpdx - 10-24-2017, 12:58 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 01:12 AM
RE: an HP question... - webmasterpdx - 10-24-2017 01:20 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 01:38 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 02:09 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 02:16 AM
RE: an HP question... - Joe Horn - 10-24-2017, 06:21 AM



User(s) browsing this thread: 1 Guest(s)