Skip to content

Is there an equiv of C's __LINE__ ? #528

@TomOnTime

Description

@TomOnTime

Oddball question but...

Is there an equiv of C's LINE in Otto?

For example, I'd like to call a function like foo(LINE, param1, param2, param3) so that foo can output an error like, "Function foo called improperly on line X".

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions