How can I set a property value by its name?
I want to set an object's property value by its name:
function SetProp(Obj object, PropName string)
{
??
}
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Andrew Wooster77 reputationPosted May 16, 2005, 6:41 AM EDT
ultra211 reputationPosted May 16, 2005, 10:32 AM EDT