All pastes #758330 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-02 03:01 UTC
rendered paste body
: total-weight ( adr -- n ) recursive
  dup
  size @
  20 < if
      ball-weight @
    else
      dup
      left-mobile total-weight
      swap
      right-mobile total-weight
      +
    then
;