Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 14:18:20 +0000



Post From: ACSIL - Increase the number of sub-graphs

[2014-02-11 05:55:11]
ejtrader - Posts: 688
Fair enough. Thought of storing the current price values in their original form rather than converting them to doubles. the current number of 64 floats is good enough. But the floats[N] etc would allow me to use dynamic variable name to define them to avoid any kind of potential conflicts with the reuse and at the same time keeping the code clean. This is not so critical feature request though. Just thought of asking in case if you are ever going to visit this area for any changes in the near future.

Thanks


// Integers - convenient to use in this form
int ivars=0;
int& i1=sc.PersistVars->Integers[ivars++];
int& i2=sc.PersistVars->Integers[ivars++];
..

// Floats - no such option
int fvars=0;
float& f1=sc.PersistVars->floats[fvars++];
float& f2=sc.PersistVars->floats[fvars++];
..


Date Time Of Last Edit: 2014-02-11 06:06:02