Example: printf, uint32

public static int main (string[] args) {
// Output: ``10``
uint32 val = 10;
print ("%" + uint32.FORMAT + "\n", val);
return 0;
}

 valac --pkg glib-2.0 uint32.FORMAT.vala

See:




2022 vala-language.org