Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:47:48 +0000



Post From: [ACSIL] Best way(s) to convert any data to SCString or string

[2022-05-05 15:42:41]
ForgivingComputers.com - Posts: 960
The following example creates a string, formats it with text and a variable, and writes it to the Message Log.

SCString MessageOut;
float Price = sc.Last[sc.Index];
MessageOut.Format("Last Price = %f", Price);
sc.AddMessageToLog(MessageOut, 0);