> -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Gesendet am: Donnerstag, 18. Mai 2000 16:13 > An: [EMAIL PROTECTED] > Betreff: [REBOL] Calling external functions Re:(2) > > 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 > You can have as many functions in your file as you'd like to. But put only the function definitions into it. But only those who are actually used in your project. As 'do' runs the whole script, all function definitions will be evaluated at runtime. If you would like to build your own function library to be used in several projects, then it is recommended to have a separate include file for every function. ciao, Jean
