Login Page - Create Account

Support Board


Date/Time: Sun, 27 Oct 2024 10:43:05 +0000



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

[2022-05-05 15:42:41]
ForgivingComputers.com - Posts: 949
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);