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

Object assignment

 [1/7] from: charliew::drte::com at: 23-May-2001 13:17


Hello all, I have a string with the name of an object. I want to assign the variable myObj to the object referenced in the myString variable. myString: "Obj1" myObj: myString <----- What do I do here? Thank you, charlie

 [2/7] from: jeff:rebol at: 23-May-2001 10:32


Howdy, Charlie:
> I have a string with the name of an object. I want to > assign the variable myObj to the object referenced in the > myString variable. > > myString: "Obj1" myObj: myString <----- What do I do here?
myObj: get to-word myString

 [3/7] from: charliew:drte at: 23-May-2001 13:45


Many thanx.. Charlie

 [4/7] from: charliew:drte at: 23-May-2001 13:59


Thanks for your help, Ok, next question, how can I pass that object to another rebol application?

 [5/7] from: jeff:rebol at: 23-May-2001 12:03


Howdy, Charlie:
> Ok, next question, how can I pass that object to another > rebol application?
Serialize it through a tcp port, perhaps: other-app: tcp://localhost:9090 ; or tcp://somehost:9090 close insert open other-app mold myObject Write it to a file. Have the other read it. Use a named pipe, etc... If you've got Pro or Command you can invoke the other app with your object passed on the command line. Numerous ways with their various merits. It all depends on your requirements. -jeff

 [6/7] from: charliew:drte at: 23-May-2001 15:53


Jeff when serializing the object through a tcp prot, how would you convert it back to the object in the receiving app. thanks, Charlie

 [7/7] from: gjones05:mail:orion at: 23-May-2001 15:16


From: "Charles Wardell"
> Jeff when serializing the object through a tcp prot, how would you
convert
> it back to the object in the receiving app.
myObject: do load myObject --Scott Jones