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

[REBOL] [Rugby XPi beta1]

From: pat665:ifrance at: 27-Jan-2002 19:58

Hi Maarten, Testing the /nostubs refinement, I got an error on the client side. ===The server code was rebol [] print "Test de rugby" do %/D/rebview/public/rugby/rugby.r triple: func [n][3 * n] double: func [n][2 * n] serve/nostubs [triple double] ===The client code was do get-rugby-service tcp://192.168.1.53:8001 ** User Error: Rugby server error: Unsupported function: [get-stubs] ** Near: make error! rejoin ["Rugby server error: Unsupported function: " mold statement] ===However rexec has no problem
>> rexec/with [triple 15] tcp://192.168.1.53:8001
== 45
>> rexec/with [double 15] tcp://192.168.1.53:8001
== 30 ===Is it a bug ? If I am right the /nostubs refinement is intended to prevent functions from being imported forcing the Client to use rexec ou sexec. However in my eyes, the get-rugby-service should not give an error but do nothing. Patrick