Mercurial > projects > ldc
view tango/example/conduits/filepathname.d @ 228:52d1e9d27dc6 trunk
[svn r244] added another asm test.
author | lindquist |
---|---|
date | Sat, 07 Jun 2008 19:20:15 +0200 |
parents | 1700239cab2e |
children |
line wrap: on
line source
import tango.io.Console; import tango.io.FilePath; void main(){ Cout ((new FilePath(r"d:\path\foo.bat")).name).newline; Cout ((new FilePath(r"d:\path.two\bar")).name).newline; Cout ((new FilePath("/home/user.name/bar.")).name).newline; Cout ((new FilePath(r"d:\path.two\bar")).name).newline; Cout ((new FilePath("/home/user/.resource")).name).newline; }