Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions

Line 4,854:
return (if sep = 0 then "" else if sep = 1 then ";" else ",")
end
 
 
public to_string (max_terms)
# I do string concatenation in a funny way here, for no especially
#
# good reason. :)
# String concatenation operators seem to be broken, in the
# revision of Object Icon that (at the moment) I have installed.
# Therefore I have written this implementation instead of a more
# obvious one.
#
 
local lst, sep, i, done, term
1,448

edits