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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ChartFX1.Series(0).Volume = 100

Status
Not open for further replies.

ram123

Programmer
Mar 6, 2001
59
US
I need to convert this asp code to coldfusion.
ChartFX1.Series(0).Volume = 100
 
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>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top