- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Antw.: #include for scala script ?
Fri, 2012-01-27, 06:22
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.scambler@gmail.com>
An: "scala-user@googlegroups.com" <scala-user@googlegroups.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.david@gmail.com> wrote:
Gesendet mit meinem HTC
----- Reply message -----
Von: "Ken Scambler" <ken.scambler@gmail.com>
An: "scala-user@googlegroups.com" <scala-user@googlegroups.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.david@gmail.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.