Current file and line number.

BlitzMax Forums/BlitzMax Beginners Area/Current file and line number.

Lomat(Posted 2005) [#1]
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.")


Ferminho(Posted 2005) [#2]
[edited] la la la [/edited]
(See below)


Koriolis(Posted 2005) [#3]
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.


Ferminho(Posted 2005) [#4]
Doh x) sorry for the misunderstanding