Login Page - Create Account

Support Board


Date/Time: Wed, 18 Jun 2025 12:44:54 +0000



Post From: sc.TradeWindowOrderQuantity

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