scala> :help All commands can be abbreviated - for example :he instead of :help. :cp <arg> add an entry (jar or directory) to the classpath :help print this help message :history [arg] show the history (optional arg: lines to show) :h? <line> search the history :load <arg> load and interpret a Scala file :power enable power user mode :quit exit the interpreter :replay reset execution and replay all previous commands :sh <line> fork a shell and run a command :silent disable/enable automatic printing of results scala> :power ** Power User mode enabled - BEEP BOOP ** ** scala.tools.nsc._ has been imported ** ** New vals! Try repl, global, power ** ** New cmds! :help to discover them ** ** New defs! Type power.<tab> to reveal ** scala> :help All commands can be abbreviated - for example :he instead of :help. :cp <arg> add an entry (jar or directory) to the classpath :help print this help message :history [arg] show the history (optional arg: lines to show) :h? <line> search the history :load <arg> load and interpret a Scala file :power enable power user mode :quit exit the interpreter :replay reset execution and replay all previous commands :sh <line> fork a shell and run a command :silent disable/enable automatic printing of results :completions <arg> generate list of completions for a given String :dump displays a view of the interpreter's internal state scala> |
C04.命令化槁本(Script) > 0401.交談式終端機(Terminal) >