Login Page - Create Account

Support Board


Date/Time: Sun, 16 Mar 2025 02:02:07 +0000



Post From: sc.TradeWindowOrderQuantity

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