[REBOL] Re: rugby and importing function
From: g:santilli:tiscalinet:it at: 3-Jul-2002 19:20
Hi Olivier,
On Wednesday, July 03, 2002, 5:35:55 PM, you wrote:
OF> fall down, the client can no more "execute the foo function. Does it
OF> exist a trick to really import the function to the client side ? In
OF> that case I would have just to get the function from the server and,
OF> when the function is arrived on the client side, server is not needed
OF> anymore.
If that is what you want, then why not doing something like this:
you place your function in a file served by a web server; let's
say it's accessible as http://my.server.com/my-func.r. Now on the
client you just do that file:
do http://my.server.com/my-func.r
to "get" the function. Does not require any other code...
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r