Page 1 of 1

bug? create folder with array variable

Posted: Tue Sep 26, 2006 11:28 pm
by confucion
(1) BROWSE FOR FOLDER

{FOLDERNAME} = C:\a1\b2\c3


(2) DELIMITED VARIABLE

String to process: {FOLDERNAME}

Delimiters | Other: \

Assign standard comma-separated text to variable: ARR_FOLDERNAME


(3) Create Folder

D:\zz\yy\{ARR_FOLDERNAME(4)}


FINAL OUTCOME SHOULD CREATE:

D:\zz\yy\c3

But no folder is created

bug? create folder with array variable

Posted: Tue Sep 26, 2006 11:46 pm
by confucion
nevermind, it works now, it should be:


(3) Create Folder



D:\zz\yy\{ARR_FOLDERNAME(3)}

bug? create folder with array variable

Posted: Tue Sep 26, 2006 11:53 pm
by Oleg
Array index begins from 0
{arr_foldername(0)}=c:
{arr_foldername(1)}=a1
{arr_foldername(2)}=b2
{arr_foldername(3)}=c3

Thus {arr_foldername(4)} is empty.