pat, Thanks that is a bit easier than creating cover functions any way. I'd still like to just pass to object and have rugby figure it out.
Dave pat665 wrote: >Hi > >Here is a solution. > >>>do %rugby.r >>>fob: make object! [ >>> >[ a: func [] [print "a" ] >[ ] > >>>fn: get in fob 'a >>>serve [fn ] >>> > >HTH > >Patrick > >----- Original Message ----- >From: "David Hawley" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, February 13, 2002 12:40 AM >Subject: [REBOL] rugby: object functions? > > >>Just starting to play with rugby. But my first diff from examples was an >>attempt to serve object functions. >> >>fob: make object! [ >> a: func [] [print "a" ] >>] >> >>trying to server fob and fob/a give the same error as seen below. It >>would be nice to be able to serve functions in an objectby just passing >>the object, but perhaps this makes no sense. >> >>Dave >> >> >> serve/with [fob ] tcp://:9092 >>a >>** Script Error: to-word is missing its value argument >>** Where: build-stubs >>** Near: append stub build-proxy/with to-word entry >> >> >> serve/with [fob/a ] tcp://:9092 >>a >>** Script Error: to-word is missing its value argument >>** Where: build-stubs >>** Near: append stub build-proxy/with to-word entry >> -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
