I can't take credit for this function, but I've used it to "include" several
different scripts and use their functions:
include: func [files] [
either block? files [
forall files [do first files]
] [
do files
]
]
include %whatever.r
Many thanks to the author of this function! :-)
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Calling external functions
>Date: Thu, 18 May 2000 15:38:05 +0200
>
>Hello!
>
>Currently I am working on a project that I would like
>to divide into several script files.
>
>I will then have one main script file from where I
>want to call functions in different files.
>
>How will I solve this? I have tried to 'load' the file
>but I can not evaluate a specific function within the
>file.
>
>Best regards,
>Peter Carlsson
>
>----------------------------------------------------------------
>Peter Carlsson Tel: +46 31 735 45 26
>Saab Ericsson Space AB Fax: +46 31 735 40 00
>S-405 15 G�teborg Email: [EMAIL PROTECTED]
>SWEDEN URL: http://www.space.se
>----------------------------------------------------------------
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com