I'm 2 inches away from the end of my drive to crazy.

I have 2 embedded loops in C++.  In the inside the loop (i), I define
args[0].array[i]=somefloatvals*j;  //where j = outside loop val
After that, I have a call to Plot that works fine as far as syntax is
concerned:  Plot = gSite.CallFunction("Plot", 7, args );

All of the other args [numbers 1-6] are previously defined above the
nested loops.  I simply want to be able to redefine args[0].array as
many times as j, and plot as many unique lines as j.

The issue I'm having is, every plot turns out the same.  It's as if
once args[0].array has been defined, it cannot be defined again.  I'm
getting as many plots as j, but they're identical. If I create whole
new sets of args for each plot (i.e. args1[0].array, args2[0].array,
etc.), I get unique lines.

Also, what is the function gSite.Free, how is it used?  I cannot find
a single example of this anywhere.  A little bit of talk about it, but
that's all I can find.

Any help would be greatly appreciated.

-Dan


Reply via email to