[Swift-user] #include ?
skenny at uchicago.edu
skenny at uchicago.edu
Wed Jan 27 18:01:52 CST 2010
great thanks!
---- Original message ----
>Date: Wed, 27 Jan 2010 17:48:45 -0600 (CST)
>From: wilde at mcs.anl.gov
>Subject: Re: [Swift-user] #include ?
>To: skenny at uchicago.edu
>Cc: swift-user at ci.uchicago.edu
>
>Yes, Ben added the start of a simple import mechanism:
>
>login2$ cat cati.swift
>import catapp;
>
>type file;
>
>file data<"data.txt">;
>file out<"out.txt">;
>out = cat(data);
>
>
>login2$ cat catapp.swift
>import typedefs;
>app (file o) cat (file i)
>{
> cat @i stdout=@o;
>}
>
>At the moment, the files you import need to be in the dir in
which you are running Swift.
>
>- Mike
>
>
>
>
>----- Original Message -----
>From: skenny at uchicago.edu
>To: swift-user at ci.uchicago.edu
>Sent: Wednesday, January 27, 2010 5:27:41 PM GMT -06:00
US/Canada Central
>Subject: [Swift-user] #include ?
>
>i heard a rumor once :) that there was a working version of an
>'include' feature of swift such that i may declare functions
>in one script and use them in others...is this in the latest
>swift? i wasn't able to find anything in the doc about it so
>thought i'd check.
>
>~sk
>_______________________________________________
>Swift-user mailing list
>Swift-user at ci.uchicago.edu
>http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
More information about the Swift-user
mailing list