The following does not work, from the /Core Guide in the Files Section:

"A block of files within the same directory can also be deleted: 

delete [%file1 %file2 %file3]"

See the console output below.
Is this a bug or a feature? ;)
The source for 'delete shows it will not accept a block!
Did I miss another function that will delete all files in a block?
( besides...   forall my-block [delete my-block/1])

>> write %test.1 "test1"
>> write %test.2 "test2"
>> write %test.3 "test3"
>> list-dir
bad-script.r      comp-test.r       desktop/          edit-prefs.r
feedback.r        license.html      local/            prefs.r
public/           rebol.exe         rebol.r           setup.html
test.1            test.2            test.3            user.r
view-pro031.zip   web-reb-info.txt
>> files: [%test.1 %test.2 %test.3]
== [%test.1 %test.2 %test.3]
>> delete files
** Script Error: delete expected target argument of type: file url
** Where: halt-view
** Near: delete files

>> delete [%test.1 %test.2 %test.3]
** Script Error: delete expected target argument of type: file url
** Where: halt-view
** Near: delete [%test.1 %test.2 %test.3]
>>


-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to