Changeset 4025


Ignore:
Timestamp:
Nov 7, 2008, 7:23:07 PM (12 years ago)
Author:
yura
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/java/java/refal/plus/Dir.java

    r3758 r4025  
    2525    public int compareTo (Dir dir) {
    2626        return RefalRuntime.compare(this, dir);
     27    }
     28
     29    @RefalFormat("$func? IsDir e.dirName = ;")
     30    public static boolean IsDir (Expr dirName) throws RefalException {
     31        return (new File(dirName.toChars())).isDirectory();       
    2732    }
    2833
Note: See TracChangeset for help on using the changeset viewer.