3 ms·
You can also emit the type during compilation, rather than at runtime: pragma(msg, "var has type: ", typeof(var));
by gmfawcett 9y ago
You can also emit the type during compilation, rather than at runtime:
pragma(msg, "var has type: ", typeof(var));
- nurettin 9y agoYou can also emit the type as a compile error by assigning it to a list or something. A trick I often used when studying C++ back when it was cool.