Sep 7, 2001 #1 ram123 Programmer Mar 6, 2001 59 US I need to convert this asp code to coldfusion. ChartFX1.Series(0).Volume = 100
Sep 7, 2001 #2 strantheman Programmer Mar 12, 2001 333 US hi ram123 Is this an object? Do you have any more code? Looks like a key called VOLUME of a structure of an array of a strucure. Structures are associative arrays with text names instead of numbers. ChartFX1.Series(0).Volume = 100 <CFSCRIPT> chartfx1 = structnew(); chartfx1.series = arraynew(); chartfx1.series[1] = structnew(); chartfx1.series[1].volume = 100; chartfx1.series[1].date = '1/1/2001'; chartfx1.series[2] = structnew(); chartfx1.series[2].volume = 400; chartfx1.series[2].date = '1/2/2001'; </CFSCRIPT> Upvote 0 Downvote
hi ram123 Is this an object? Do you have any more code? Looks like a key called VOLUME of a structure of an array of a strucure. Structures are associative arrays with text names instead of numbers. ChartFX1.Series(0).Volume = 100 <CFSCRIPT> chartfx1 = structnew(); chartfx1.series = arraynew(); chartfx1.series[1] = structnew(); chartfx1.series[1].volume = 100; chartfx1.series[1].date = '1/1/2001'; chartfx1.series[2] = structnew(); chartfx1.series[2].volume = 400; chartfx1.series[2].date = '1/2/2001'; </CFSCRIPT>