Task

The goal is to get the source code or file path and line number where a programming object (e.g. module, class, function, method) is defined.




src:=File(__FILE__).read();
println("Src file is \"%s\" and has %d lines".fmt(__FILE__,src.len(1)));