gcd.rb:4 def gcd(a, b) # # ******************************************************** # # This tests the 'linetrace+' command. # # ******************************************************** # set basename on basename is on. # set linetrace+ on line tracing style is different consecutive lines. # set linetrace on line tracing is on. # continue Tracing(1):gcd.rb:18 gcd(3,5) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:15 return gcd(b-a, a) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:15 return gcd(b-a, a) Tracing(1):gcd.rb:6 if a > b Tracing(1):gcd.rb:10 return nil if a <= 0 Tracing(1):gcd.rb:12 if a == 1 or b-a == 0 Tracing(1):gcd.rb:13 return a