Scala笔记(6)——在Scala解释器里退出当前命令

使用scala解释器时,如果中途发现命令输入错误,想退出,可以输入两个“回车”退出当前命令:

scala> val multiline =
 |
 |
You typed two blank lines.  Starting a new command.

发表评论

邮箱地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.