Displaying STRING* arrays in digits

Posted By: xykynan

Displaying STRING* arrays in digits - 09/20/07 23:58

Is it possible? I haven't had any success thus far. I don't get any syntax errors, but the panel just displays numbers where the string should be. Here's what I have:

STRING* mini_string[5];

mini_string[1] = str_create("test");

PANEL* menu =
{
...
digits (300, 20, "Test: %.0f", *, 1, mini_string[1]);
}

Thanks in advance.
Posted By: oldschoolj

Re: Displaying STRING* arrays in digits - 09/21/07 01:07

i thought digits could only display variables?
Posted By: Shadow969

Re: Displaying STRING* arrays in digits - 09/21/07 03:57

digits can display strings, but i'm not sure about arrays
© 2023 lite-C Forums