Example: Calculate the minimum via .min()

public static int main (string[] args) {
// Output: ``min (0, 255) = 0``
print ("min (0, 255) = %hhu\n", uint8.min (uint8.MIN, uint8.MAX));
return 0;
}

 valac --pkg glib-2.0 uint8.min.vala

See:




2022 vala-language.org