Sharing Scripts
I've been through a interesting exercise with a client, trying to get Rebol
and my scripts running (and hopefully make some money for both of us), and
I've discovered some problems in general script portability. Earlier I had
my several versions of Rebol in my windows %"Program Files/" directory. We
discovered that this becomes a problem with other machines that don't have a
%"Program Files/" directory because they're using different operating
systems. So after some trials and tribulation, we've decided to put rebol
executables and scripts in a directory like:
        [Root Directories]/Rebol/
    with each Rebol version in subdirectories like:
        [Root Directories]/Rebol/Core/
        [Root Directories]/Rebol/View/
    and with my user scripts in a sub directory like:
        [Root Directories]/Rebol/Scripts/
    Then the necessary line in %User.r to install the "plugins" for
%Patches/, %Enhancements/ and %Units/ becomes simply:
        do %../Scripts/Units/Units.r
The advantage is now that I can easily transfer files in one .zip file to my
client and I can be certain that his copy is up to date as he simply erases
his old version. And also not mistakenly transfer incompatible Rebol
executables when working late at night.

I hope this helps others working with Rebol.

Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/
-><-


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

Reply via email to