Hi List, I've got a big problem,

I've a string:

> cmd-iso: "mkisofs -R -J -o %/c/programmi/openpc/backup/back.iso %"

> cmd-iso: append cmd-iso selected-dir

(I'm quite sure that's a string because the 'type? function told me it was).

I want to remove from that string the last character, that is a "/",
because:

> selected-dir: request-dir ;so I've got a directory name that always ends
with "/" (isn't it?)

But in my script this "/" must be removed, if I make this:

> remove last cmd-iso

I got this error on executing the script:

>** Script Error: remove expected series argument of type: series port
bitset none

>** Where: func [face value][

>    cmd-iso: copy cmd-iso

>    remove last cmd-iso

>    print cmd-iso

>]

>** Near: remove last cmd-iso

Why? Please let me understand why, I need it desperately!!!

Thank you very very much,

Silvia



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to