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

[REBOL] Re: Iteration over object "properties"

From: compkarori:gm:ail at: 29-Feb-2008 21:44

>> o: make object! [ p1: "Berlin" p2: "Germany" p3: 3'400'000 ] >> first o
== [self p1 p2 p3] On Sat, Mar 1, 2008 at 9:55 AM, Kai Peters <kpeters-otaksoft.com> wrote:
> Am not sure if I am using the proper terminology here, so please bear with > me: > > How do I iterate over the "properties" of an object? > > o: make object! [ p1: "Berlin" p2: "Germany" p3: 3'400'000 ] > > I want to get at the "property names" in string form as in "p1" "p2" and so > forth > > Thanks for any help, as always > > Kai > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Graham Chiu http://www.synapsedirect.com Synapse - the use from anywhere EMR.