Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 00:30:50 +0000



passing dynamic url params using SCstring url string

View Count: 850

[2015-05-27 08:21:17]
enemyspy - Posts: 306
hi I am trying to concatenate variables to the ? side of of the url string instead of literals within the string. How can this be accomplished?


if(sc.Index == sc.ArraySize-1)
{
for(int i =sc.ArraySize-1; i>0;i--)
  {
      rownum = rownum+1;
      colnum = colnum+1;
    
SCString url;
      url.Format(H*TTP://mysite.ca/IndexQry.php?row=rownum&col=1);

}
}



Date Time Of Last Edit: 2015-05-27 08:41:41
[2015-05-27 10:37:43]
Sierra Chart Engineering - Posts: 104368
This is explained here:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html#SCStringPlusEqualOperator
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