SwitchHats Wiki
Status: Planning
Brought to you by:
vo1stv
/* abortApp.scala
\begin{comment}
You may wonder what all these comment and begin/end sections are all about.
They are a method of literate programming described at:
http://iweb.dl.sourceforge.net/project/switchhats/AboutSwitchHats/AboutSwitchHats.pdf
Please tolerate them for now.
Someday I will write an editor that hides them from your sight.
\end{comment}
\begin{lstlisting}
*/ /// \end{lstlisting} \begin{comment}
// The code in this section will not be printed in the documentation
// This is useful, for example, at the start of file to hide trivial includes and definition
package console
/* \end{comment}
\begin{lstlisting} % Code below this line will be included in the documentation
*/
object abortApp extends App {
override def main( args : Array[String]) {
println (
"'Anything goes' means " +
"nothing to do... " +
"aborting."
) ;
}
}
/// abortApp.scala \end{lstlisting}