FileAppend does not append in optimization unlike TS2ki, TS8

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

FileAppend does not append in optimization unlike TS2ki, TS8

Postby 2haerim » 08 Jan 2009

Code: Select all

input: x(0);
var: strAppended(""); 
if d<>d[1] then begin   
 strAppended= NumToStr(x, 0)  + " " + NumToStr(date, 0)  + newline; 
 FileAppend("c:\x.txt", strAppended);     
end;


when this is applied and exhaustive optimization is run, say , input x is from 1 to 10,
output from MC and TS2ki/TS8 are different.

Furthermore, MC seems to behave irregularly depending on the expression to append though I need to check more about this.[/list]

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 09 Jan 2009

Hi HaeRim,

This is because MultiCharts uses multiple cores for optimization, while neither TS nor TS2000i do that. Thus in MultiCharts, calculations for different input combinations can be run at the same time.

Regards.


Return to “MultiCharts”