Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 01:45:05 +0000



sc.Input[].SetCustomInputStrings() delimiter

View Count: 767

[2016-10-21 03:49:02]
User553714 - Posts: 184
Hi,

At the moment I think the only delimiter for SC function sc.Input[].SetCustomInputStrings() is ";" as per the documented example below;
CustomInput.SetCustomInputStrings("Option 1;Option 2;Option 3;Option 4")
The problem is when you have a combination of long strings and/or a large number of strings you end up with a very long series of characters (500 in my case) in your code which you can't shorten. I tried using a carriage return after each ";" to make the code more readable but the DLL wouldn't compile.
This is not urgent, but can you consider allowing the use of a carriage return in this function in a future upgrade.

Regards
[2016-10-21 04:15:02]
Sierra Chart Engineering - Posts: 104368
No, this is not something that we would do. This is so easy for you to resolve on your side by using multiple strings and joining them together or putting them on separate lines.
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