Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a function froma variable

Status
Not open for further replies.

womblies

Programmer
Feb 28, 2003
62
IE
hi
i'm just wondering if it is possible to creat a function from a varible
gen_name = "setjava";
generated_result = gen_name+"_Result";
function generated_result(result){

getgennum.text = result;
}

so the the function should be "function setjava_Result(result)"
is this possible to do
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top