# __PROC__ macro

Source: https://ref.dm-lang.org/DM/preprocessor/__PROC__
Added in BYOND 515.

The `__PROC__` macro is replaced by a reference to the current proc being compiled. This may be useful when generating debugging error messages, especially when wrapped in `nameof`, e.g. `nameof(__PROC__)`.

This is actually a pseudo-macro; the preprocessor doesn't handle it directly.

### See also
- [__FILE__ macro](https://ref.dm-lang.org/DM/preprocessor/__FILE__.md)
- [__LINE__ macro](https://ref.dm-lang.org/DM/preprocessor/__LINE__.md)
- [__TYPE__ macro](https://ref.dm-lang.org/DM/preprocessor/__TYPE__.md)
- [__IMPLIED_TYPE__ macro](https://ref.dm-lang.org/DM/preprocessor/__IMPLIED_TYPE__.md)
