Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 21:00:07 +0000



Post From: SCString failing as identifier

[2016-09-29 17:44:20]
User94740 - Posts: 333
I have taken an extract from a custom study example and double checked according to the documentation, but after compiling I am getting an error to the following code.

Code
line 71: SCString Message;
line 72: Message.Format("Go to", ChartNumber);

Reported Error
C:\SierraChart-Trading\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
TemplateTest20160927-1.cpp
C:\SierraChart-Trading\ACS_Source\TemplateTest20160927-1.cpp(72): error C2065: 'Message': undeclared identifier
C:\SierraChart-Trading\ACS_Source\TemplateTest20160927-1.cpp(72): error C2228: left of '.Format' must have class/struct/union
C:\SierraChart-Trading\ACS_Source\TemplateTest20160927-1.cpp(72): note: type is 'unknown-type'
C:\SierraChart-Trading\ACS_Source\TemplateTest20160927-1.cpp(74): error C2065: 'Message': undeclared identifier
Date Time Of Last Edit: 2016-09-29 17:45:14