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 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode