Hi, Using Rugby you can create function that return parameterized or composed code.
It is simple: coder: func [][ return [ func [in][probe in]]] on the client side you just do: get-rugby-service my-func: do coder my-func 10 >>10 You just return a block of code on the server that you 'do on the client and that then returns a function. HTH, Maarten On Wed, 3 Jul 2002, Gabriele Santilli wrote: > 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 <[EMAIL PROTECTED]> -- REBOL Programmer > Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
