Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] rugby: object functions?

From: dlhawley::attbi::com at: 12-Feb-2002 15:40

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