Current file and line number.
BlitzMax Forums/BlitzMax Beginners Area/Current file and line number.
| ||
Hi All, Is there a way to get the current file and line number? Something that would allow me to do something like the following... runtimeError("It died in " + _FILE_ + " on line " + _LINE_ + " because of a lack of eggs.") |
| ||
[edited] la la la [/edited] (See below) |
| ||
He's talking about the *source code* file and name, like in C. The answer is no, there isn't such a thing in BlitzMax AFAIK. |
| ||
Doh x) sorry for the misunderstanding |