rebol's 'do is like c's '#include

Although you can put many functions into one .r file, you can put one
function in each .r file.
Go to the script archive at http://www.rebol.org for examples of this.

Although I haven't done so, or thought of a good reason to do so, I could
write .h file for each separate function. Maybe they would be big functions.

At 04:13 PM 5/18/00 +0200, you wrote:
>At 15:51 2000-05-18 +0200, you wrote:
>
>>you must 'do' the file. if you do it the whole file is evaluated
>>
>>try to give each function in a single file
>
>
>Hello!
>
>Are you saying that I have to have only one function in each
>file?!? There must be some way to 'include' a whole script
>and then calling each function separately?
>
>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
>----------------------------------------------------------------
>
>

Reply via email to