[Swift-devel] filenames with "."

Yong Zhao yongzh at cs.uchicago.edu
Tue Mar 6 12:10:20 CST 2007


This is not a restriction, just like in java or in c, you can't put . into
an identifier, as that would mean to access its member:

a.b means I want to access the member item b of a.

Yong.

On Tue, 6 Mar 2007, [UTF-8] Ian Foster wrote:

> That seems a rather unreasonable restriction long term?
>
> Ian
>
> Sent via BlackBerry from T-Mobile
>
> -----Original Message-----
> From: "Veronika  V. Nefedova" <nefedova at mcs.anl.gov>
> Date: Tue, 06 Mar 2007 12:01:35
> To:Yong Zhao <yongzh at cs.uchicago.edu>
> Cc:swift-devel at ci.uchicago.edu
> Subject: Re: [Swift-devel] filenames with "."
>
> Sigh...
> So I should just replace "." in logical file name? Can I keep dots in the
> physical file name ?
>
> Nika
>
> At 11:59 AM 3/6/2007, Yong Zhao wrote:
> >'.' is the path separator in swift, so you have to replace those with
> >underscore or something.
> >
> >On Tue, 6 Mar 2007, Veronika  V. Nefedova wrote:
> >
> > > Hi,
> > >
> > > I have Swift complaining about this line:
> > >
> > > file solv_repu_0.2_0.3_a0_m001_wham  <"solv_repu_0.2_0.3_a0_m001.wham">;
> > >
> > > [315] wiggum /sandbox/ydeng/alamines > swift swift-MolDyn-free.dtm
> > > Could not compile SwiftScript source: line 311:17: unexpected token: .2
> > >
> > > It looks like it doesn't like multiple "." in the file name. Is it possible
> > > to fix it ? I have a lot of files (input/output) that look like that and it
> > > will be a big mess if I start renaming those...
> > >
> > > Thanks!
> > >
> > > Nika
> > >
> > > _______________________________________________
> > > Swift-devel mailing list
> > > Swift-devel at ci.uchicago.edu
> > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > >
>
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
>



More information about the Swift-devel mailing list