Post Reply 
(11C) (15C) Simple configurable dice
05-02-2018, 08:03 PM
Post: #9
RE: (11C) (15C) Simple configurable dice
(04-06-2018 01:17 PM)David Hayden Wrote:  You can save some runtime and one program step by adding R1 after the loop rather than adding 1, R1 times:
Code:
LBL 3  ; You could use label D for Dice here
  FIX 0
  RCL 1
  STO I
  CLx
  LBL 4
    RAN#
    RCL * 2
    INT
    +
    DSE I
      GTO 4
  RCL + 1
  RTN

I just noticed you can save even two more steps if you remove both the CLX and the RCL+1. ;-)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (11C) (15C) Simple configurable dice - Dieter - 05-02-2018 08:03 PM



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