Getting source line number
Whaley
Posts: 6
In the C language, there is the __LINE__ macro that can be used to embed line number of the present source line into strings, and this is often used for debug purposes to disambiguate which line in the code generated the debug without having to do this manually.
Does anyone know if there is a similar feature in the Spin language to get the source line number?
Thanks.
·
Does anyone know if there is a similar feature in the Spin language to get the source line number?
Thanks.
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
I'll do without it for now, but sometimes knowing that a feature is not implemented saves a lot of time hunting around looking for it - so thanks for your reply.
David.