mgx-alander
10-10-2009, 07:54 PM
Ok
I got this issue
I got this variable already defined say XCon4
XCon4 = new GIcon() (XCon ranges from 1 to 8)
after alot of processing, the server generates this array of ions (There are a total of 8ions type)
ion stores this variable name
ion[0] = "XCon4"
ion[1] = "XCon3"
i got another function that requires a type GIcon, however this variable name is stored in
ion[0], how do i convert ion[0](of type string) to XCon4 (of type GIcon)???
This is not a Pure JS Function, it integrates asp.net with js)
There is a need to convert,
thanks in advance
I got this issue
I got this variable already defined say XCon4
XCon4 = new GIcon() (XCon ranges from 1 to 8)
after alot of processing, the server generates this array of ions (There are a total of 8ions type)
ion stores this variable name
ion[0] = "XCon4"
ion[1] = "XCon3"
i got another function that requires a type GIcon, however this variable name is stored in
ion[0], how do i convert ion[0](of type string) to XCon4 (of type GIcon)???
This is not a Pure JS Function, it integrates asp.net with js)
There is a need to convert,
thanks in advance