copy custom property set

Michael Doub mike at doub.com
Fri Dec 2 01:30:46 EST 2011


I think that your question may be more about arrays that custom properties. 
Maybe this will give you some ideas.

-= Mike



on mouseUp
   put "goodmorning" & Tab& "Good Morning!" & return &\
   "goodevening" & tab & "Good Evening!" & return into enArray
   split enArray with return and tab

   put "Good Afternoon!" into enArray["goodafternoon"]
   set the en of this stack to enArray
   
   repeat for each line x in the keys of enArray
      switch x
         case "goodmorning"
            put "gm" into ja{x]
            break
             case "goodafternoon"
            put "ga" into ja{x]
            break
             case "goodevening"
            put "ge" into ja{x]
            break
      end switch
   end repeat
   set the ja of this stack to ja
  
   put the en of this stack into x
   put the ja of this stack into y
   beep
end mouseUp


More information about the Use-livecode mailing list