Login Page - Create Account

Support Board


Date/Time: Sun, 14 Sep 2025 08:53:01 +0000



Post From: sc.TradeWindowOrderQuantity

[2022-07-31 08:25:16]
User431178 - Posts: 774
TextToDisplay = sprintf("%i", OrderQuantity);

This is not correct, sprintf works with a buffer and does not return a string.

Anyway, you can just use the SCString member function Format.

TextToDisplay.Format("%i", OrderQuantity);

ACSIL Programming Concepts: Working with SCString, Text Strings and Setting ACSIL Structure Member Name Strings