Login Page - Create Account

Support Board


Date/Time: Mon, 27 Jan 2025 05:11:12 +0000



Post From: Dynamic SCFloatArray Names

[2019-02-18 17:08:24]
User470516 - Posts: 78
Thanks for the answer. No, that is not what I would like to be doing.

To better explain my question, below is a piece of code I wrote based on the documentation (ACSIL Programming Concepts: Dynamic Graph Names) and that does what I want:


for (int i = 0; i < nbPZ_perChart.GetInt(); i++)
  {
    sc.Subgraph[2 * i].Name.Format("PZ_LT_H %d", i);
  }

I would like to do the exact same thing with SCFloatArray: dynamically assigning a SCFLoatArray such as:

SCFloatArray PZ_LT_L + std::to_string(i);

But this does not work and I was wondering if the documentation explains how to do it with SCFloatArray.

Thank you for the support.

Regards,

Laurent