text-format ( text -- c-string )


Vocabulary
raylib

Inputs
texta c-string


Outputs
c-stringa c-string


Word description
Calls TextFormat with no anonymous arguments and copies its result to a Factor string. Write %% for a literal percent sign. For formats that consume values, declare a typed alias; the FFI does not infer types from the format string.

Examples
LIBRARY: raylib FUNCTION-ALIAS: format-five c-string TextFormat ( c-string format, ... int a, double b, int c, double d, int e ) "%d/%.2f/%d/%.1f/%d" 7 2.5 -3 4.5 11 format-five


Definition