Antw.: #include for scala script ?

Quite likely that works in interactive mode but not as compiled one, because :load is not valid scala code

Gesendet mit meinem HTC

----- Reply message -----
Von: "Ken Scambler" <ken [dot] scambler [at] gmail [dot] com>
An: "scala-user [at] googlegroups [dot] com" <scala-user [at] googlegroups [dot] com>
Betreff: [scala-user] #include for scala script ?
Datum: Fr., Jan. 27, 2012 00:24



Isn't this what :load does?

On 27 January 2012 10:02, david crosson <crosson [dot] david [at] gmail [dot] com> wrote:
Hi,
I did some search and didn't find any default way to include a scala script file inside an other one, in order for example to share common definitions accross multiple scala scripts. So I made some experiments, and share the results there : http://www.crosson.org/2012/01/simplifying-scala-scripts.html . I was wondering If there is already some initiative about this kind of feature ? May be it is already scheduled in a next scala release ?
thanks.

Copyright © 2013 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland