Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/sysel/lib/boxed.sy

    r38aaacc2 r051bc69a  
    4646class String is
    4747        var Value : string;
     48
     49        fun get_length() : int, builtin;
     50
     51        -- Length of string.
     52        prop Length : int is
     53                get is
     54                        return get_length();
     55                end
     56        end
     57
     58        -- Slice (sub-string).
     59        fun Slice(start : int; length : int) : string, builtin;
    4860end
Note: See TracChangeset for help on using the changeset viewer.