Files
MoonVeil-Docs/content/docs/macros/MV_LINE.md
2025-10-17 03:22:30 -06:00

30 lines
551 B
Markdown

---
weight: 100
title: "MV_LINE"
description: "Get current line"
icon: "code_blocks"
date: "2025-05-01T18:47:58-05:00"
lastmod: "2025-05-01T18:47:58-05:00"
---
`declare MV_LINE: number`
will be replaced with a number constant representing the current line.
{{% alert context="info" text="**Note**: `LPH_LINE` is an available alias." /%}}
## Valid Usage
```lua
local a = MV_LINE
print(a, MV_LINE)
```
turns into:
```lua
print(1,2)
```
{{% alert context="info" text="**Note**: the 'a' local got folded yet retains the original line number" /%}}