Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 06:21:40 +0000



Post From: sc.TradeWindowOrderQuantity

[2022-07-31 08:25:16]
User431178 - Posts: 728
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