Gruss Volker wrote:
>system/options/script gives the script-name. So why saving it?
>modify file: .. in carls code:
>    ...
>        Note: (reform [{To extract, type REBOL} filename {or run REBOL and 
>type: do} filename])
>    ]
>>>    file: system/options/script ;ex (filename)
>    size: (length? archive)
>    path: (path)
>    ...

That will work if the script is run from the command line,
but not from the REBOL prompt. In that case, sys/opt/script
has either the value none or the value of some startup script
called on the command line of an interactive session.

If system/options/script is none, this change to your code
would work:

    file: any [system/options/script (filename)]

but that wouldn't help in the other case.

[EMAIL PROTECTED]

Reply via email to