Login Page - Create Account

Support Board


Date/Time: Sun, 25 May 2025 08:47:43 +0000



Breaking up SetCustomInputStrings() into multiple lines.

View Count: 417

[2023-05-27 06:01:33]
User92573 - Posts: 560
Dear Support Board

I've read through the information provided on 'SetCustomInputStrings()' and used many times but on this occasion I have quite a long list.

Is there a way in ASCIL to break-up the list into multiple rows to provide for more readable code?

Many thanks
[2023-05-29 15:44:08]
Sierra_Chart Engineering - Posts: 19695
No this is not supported.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-06-05 00:00:20]
ForgivingComputers.com - Posts: 1058
I understood the question as
"Can I create a list of input strings and have it display in multiple rows of the editor?"

If so, then you can break a string into lines of text with the backslash character:

SCInput[0].SetCustomInputStrings("Choice Number 1;\
Choice Number 2;\
Choice Number 3;\
Choice Number 4");

[2023-06-06 11:19:57]
User92573 - Posts: 560
Thank you Brad.

Yes, that's exactly what I meant. I hadn't considered new line would be valid in the SC function.

Many thanks.

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

Login

Login Page - Create Account