Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 10:32:51 +0000



Post From: Code help, using a string instead of a constant

[2023-08-27 20:32:52]
ondafringe - Posts: 286
I'm looking at this link for pointers:
https://www.programiz.com/cpp-programming/pointers

But, yeah, this is pretty confusing stuff. lol

However, maybe the reason you are only getting the first formula is because you are trying to redeclare a const within the for loop.

I don't believe that is allowed, unless you first drop out of the for loop.

Have you tried declaring Formula like this, leaving const out:


char* Formula

I just looked at sc.EvaluateGivenAlertConditionFormulaAsDouble and it does show "const SCString& Formula" as the third argument, so the above probably won't work.
Date Time Of Last Edit: 2023-08-27 20:46:36