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

[REBOL] How do I dynamically modify an object?

From: edanaii:cox at: 14-Jan-2003 13:36

Using the examples from the REBOL On-line dictionary:
>> Example: Make Object! [ Name: "Fred" Age: 5000000 ] >> Get in Example 'Name
== "Fred"
>> Set in Example 'Name "Fred Flintstone"
== "Fred Flintstone" How do I dynamically add to example, after it has been created, Address: 123 Bedrock Path . I tried using 'Set, 'Make and a couple other functions, but they didn't work. I was probably using them wrong. :) -- Sincerely, | For long you live and high you fly. Ed Dana | And smiles you'll give and tears you'll cry Software Developer | And all you touch and all you see, 1Ghz Athlon Amiga | Is all your life will ever be. | -- Pink Floyd, Breathe.