Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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