这个代码示例中的逗号是什么?

1 ruby syntax

cash = 100_000.00
sum = 0
cash += 1.00, sum while cash < 1_000_000.00 # underscores ignored
Run Code Online (Sandbox Code Playgroud)

我在一本书"学习Ruby"中找到了上面的例子,但是使用Ruby 1.9它没有编译("解释"?)

syntax error, unexpected ',', expecting $end
Run Code Online (Sandbox Code Playgroud)

在1.00之后,逗号应该做什么?

以下是该示例的完整上下文:

#Also, like if, you can use while as a statement modifier, at the end of a statement:
cash = 100_000.00
sum = 0
cash += 1.00, sum while cash < 1_000_000.00 # underscores ignored
#So cash just keeps adding up until it equals $1,000,000.00. I like that!
Run Code Online (Sandbox Code Playgroud)

Pes*_*sto 5

这是一个错误.有关于它的未经证实的错误报告,但官方勘误表中没有任何内容(自2007年10月16日以来尚未更新).