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. > ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
