Odcl_PathToList

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Files & Folders >

Odcl_PathToList

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_PathToList

This function convert Path directory to a list of Path.

Parameters

Path location

String specifying any path location.

 

Return Values

Returns the following according to the situation:

List as String of the Path location specified.

Nil if string not valid.

 

Example

;Transform Path location inao a List oftstring

(Odcl_PathToList "c:\\my folder\\Myproject\123")

 

Result:

("c:" "my folder" "Myproject" "123")

 

AutoLisp Syntax:

(Setq rValue (Odcl_PathToList Path [as  tring]))