Simple macro to get symbol name. macro getSymbolName(x: untyped): string = x.toStrLit Run
I'm not sure if I get what you want for getting the latest value.
Simple macro to get symbol name. macro getSymbolName(x: untyped): string = x.toStrLit Run
I'm not sure if I get what you want for getting the latest value.