Changeset 15813 in project for chicken/trunk/manual/Unit files


Ignore:
Timestamp:
09/09/09 07:04:31 (11 years ago)
Author:
Kon Lovett
Message:

posixwin use of 'fx= 0' instead of 'zero?'
posixunix use of 'fx= 0' instead of 'zero?', fix for 'create-directory' when absolute pathname & easier to read
files common code for "is this a pds char?", added 'decompose-directory', rmvd redundent compile-time proc cache
files added 'decompose-directory'
data-structures 'random-seed' not here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/manual/Unit files

    r15119 r15813  
    105105{{DIRECTORY}} may be a string or a list of strings.
    106106
     107==== decompose-directory
     108
     109<procedure>(decompose-directory DIRECTORY)</procedure>
     110
     111Returns 3 values: the {{base-origin}}, {{base-directory}}, and the
     112{{directory-elements}} for the {{DIRECTORY}}.
     113
     114; {{base-origin}} : a {{string}} or {{#f}}. The drive, if any.
     115; {{base-directory}} : a {{string}} or {{#f}}. A directory-separator when {{DIRECTORY}} is an {{absolute-pathname}}.
     116; {{directory-elements}} : a {{list-of string}} or {{#f}}. The non-directory-separator bits.
     117
     118{{DIRECTORY}} is a {{string}}.
     119
     120* On WIndows {{(decompose-directory "c:foo/bar")}} => {{"c:" #f ("foo" "bar")}}
     121
    107122
    108123=== Temporary files
Note: See TracChangeset for help on using the changeset viewer.