QB / QB64 Discussion Forum      Other Subforums, Links and Downloads
 Return to Index  

slight tweak.

August 4 2011 at 12:54 AM
  (Login MCalkins)
Moderator


Response to Re: Great work for just over 4 hrs.

I still haven't examined it thoroughly. Frankly, I probably won't get around to it. (It's not that I don't have time, it's just that I can be a lazy bum sometimes. Specifically, I can have a somewhat short attention span when it comes to programming...)

Anyway, I realized that:

 y = 0
 DO UNTIL y AND 1
  y = 0

could become:

 DO
  y = 0

and:

  LOOP
 LOOP
LOOP WHILE sp >= 0

would become:

  LOOP
 LOOP UNTIL y AND 1
LOOP WHILE sp >= 0

I haven't tested it, but it should work.

Regards,
Michael

P.S. I still intend to post another cipher challenge, but I just haven't gotten around to it. I have some other things I should do first.


    
This message has been edited by MCalkins on Aug 4, 2011 12:57 AM
This message has been edited by MCalkins on Aug 4, 2011 12:55 AM


 
 Respond to this message