首页 > 学院 > 开发设计 > 正文

scala console 用:paste 多行输入

2019-11-06 08:12:44
字体:
来源:转载
供稿:网友

感谢分享:

http://blog.csdn.net/lein_wang/article/details/51689368

http://alvinAlexander.com/scala/scala-repl-how-to-paste-load-blocks-of-source-code

scala> :paste// Entering paste mode (ctrl-D to finish)if (true)    PRint("that was true")else    print("false")[Ctrl-D]// Exiting paste mode, now interpreting.that was true


上一篇:华为机试-合唱队

下一篇:final

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表