Print_Vars module

print_vars

procedureSource

Prints each expression's source text, value and type, one line apiece. Each expression is evaluated once.

Example↗
width := 640;
print_vars(width, width * 2);
// width       = 640  (s64)
// (width * 2) = 1280 (s64)
print_vars :: ($args: ..Code, loc := #caller_location)

Parameters

$args: ..Code
loc := #caller_location

See also