Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 00:50:00 +0000



size/length of the SCString variable

View Count: 813

[2016-04-05 20:49:54]
User53601 - Posts: 105
Seems to be very simple task, but I cannt find out the code for size/length of the SCString variable.

I tried this code:

SCString Header ;
int StringLength = Header.size;

but the result is:
error: 'class SCString' has no member named 'size'


could you pls help.
[2016-04-05 23:26:20]
Sierra Chart Engineering - Posts: 104368
You need to use:
SCString::GetLength()

The documentation will be updated if this does not already exist.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account